ComponentOne FlexGrid for WinForms
GetCellStyleDisplay Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : GetCellStyleDisplay Method
Row index.
Column index
Gets the style used to render a cell.
Syntax
'Declaration
 
Public Function GetCellStyleDisplay( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As CellStyle
public CellStyle GetCellStyleDisplay( 
   int row,
   int col
)

Parameters

row
Row index.
col
Column index

Return Value

CellStyle object used to display the cell.
Remarks
The CellStyle object returned may be a composite with elements from several styles. For example, a cell with the focus is painted with a style that contains elements from the CellStyleCollection.Focus, a custom style associated with the cell, row, and column (if available), and the CellStyleCollection.Normal style.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members