ComponentOne True DBGrid for WinForms
GetCellStyle(Int32,C1DisplayColumn,Boolean,Boolean) Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid.BaseGrid Namespace > View Class : GetCellStyle(Int32,C1DisplayColumn,Boolean,Boolean) Method
Row index.
Split column.
Ignore selection style.
Ignore user custom style.
Returns a C1.Win.C1TrueDBGrid.Style that is applied to the specified cell.
Syntax
'Declaration
 
Public Function GetCellStyle( _
   ByVal row As System.Integer, _
   ByVal dc As C1DisplayColumn, _
   Optional ByVal ignoreSelection As System.Boolean, _
   Optional ByVal ignoreFetchRowStyle As System.Boolean _
) As Style
public Style GetCellStyle( 
   System.int row,
   C1DisplayColumn dc,
   System.bool ignoreSelection,
   System.bool ignoreFetchRowStyle
)

Parameters

row
Row index.
dc
Split column.
ignoreSelection
Ignore selection style.
ignoreFetchRowStyle
Ignore user custom style.
Remarks
The returned value is a copy of actual C1.Win.C1TrueDBGrid.Style object and it cannot be changed in the event.
See Also

Reference

View Class
View Members