ComponentOne List for WinForms
C1.Win.C1List Namespace / DropDownList Class / ClearCellStyle Method

In This Topic
    ClearCellStyle Method (DropDownList)
    In This Topic
    Removes a cell condition established with a previous call to the C1.Win.C1List.ListBase.C1ListBase.AddCellStyle method.
    Syntax
    'Declaration
     
    
    Public Sub ClearCellStyle( _
       ByVal condition As CellStyleFlag _
    ) 
    public void ClearCellStyle( 
       CellStyleFlag condition
    )

    Parameters

    condition
    Remarks

    The ClearCellStyle method removes a cell condition established with a previous call to the C1.Win.C1List.ListBase.C1ListBase.AddCellStyle method for the object in question. If no such cell condition exists, then calling this method has no effect.

    If the condition argument is CellStyleFlag.AllCells, then all non-regex cell conditions are removed, regardless of status.

    See Also