ComponentOne FlexGrid for WinForms
IsCellCheckBox Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : IsCellCheckBox Method
Row index.
Column index.
Gets a value that determines whether the cell contents are displayed as a checkbox.
Public Overridable Function IsCellCheckBox( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Boolean
public virtual bool IsCellCheckBox( 
   int row,
   int col


Row index.
Column index.

Return Value

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

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


C1FlexGridBase Class
C1FlexGridBase Members