ComponentOne True DBGrid for WinForms
AddCellStyle Method (C1DisplayColumn)

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > C1DisplayColumn Class : AddCellStyle Method
Combination of one or more CellStyleFlag enumerations.
Style object that specifies appearance attributes.
Controls the Style used to change the appearance for cells meeting the specified condition.
Syntax
'Declaration
 
Public Sub AddCellStyle( _
   ByVal condition As CellStyleFlag, _
   ByVal style As Style _
) 
public void AddCellStyle( 
   CellStyleFlag condition,
   Style style
)

Parameters

condition
Combination of one or more CellStyleFlag enumerations.
style
Style object that specifies appearance attributes.
See Also

Reference

C1DisplayColumn Class
C1DisplayColumn Members