FlexGrid for WinForms
IsCellCheckBox Method



Row index.
Column index.
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
'Usage
 
Dim instance As C1FlexGridBase
Dim row As Integer
Dim col As Integer
Dim value As Boolean
 
value = instance.IsCellCheckBox(row, col)
public virtual bool IsCellCheckBox( 
   int row,
   int col
)
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback