FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / IsCellCheckBox Method
Row index.
Column index.

In This Topic
    IsCellCheckBox Method (C1FlexGrid)
    In This Topic
    Gets a value that determines whether the cell contents are displayed as a checkbox.
    Syntax
    'Declaration
     
    
    Public Overridable Function IsCellCheckBox( _
       ByVal row As Integer, _
       ByVal col As Integer _
    ) As Boolean
    public virtual bool IsCellCheckBox( 
       int row,
       int col
    )

    Parameters

    row
    Row index.
    col
    Column index.

    Return Value

    True if the cell contents should be displayed as a checkbox, false otherwise.
    Remarks

    Boolean values are displayed as check boxes unless one of the following conditions is true:

    1) The cell has an associated RowCol.DataMap. In this case the values specified in the DataMap are displayed instead of check boxes.

    2) The cell has a multi-part RowCol.Format string (such as "yes;no"). In this case the Format is used instead of check boxes.

    3) The cell belongs to a subtotal row and does not contain a Boolean value.

    See Also