C1.Win.C1FlexGrid Namespace > CellRange Structure : Style Property |
'Declaration
Public Property Style As CellStyle
'Usage
Dim instance As CellRange Dim value As CellStyle instance.Style = value value = instance.Style
public CellStyle Style {get; set;}
public: property CellStyle^ Style { CellStyle^ get(); void set ( CellStyle^ value); }
// create a style CellStyle cs = _flex.Styles.Add("red"); cs.BackColor = Color.Red; // create a cell range and assign it a style CellRange rg = _flex.GetCellRange(1, 1, 5, 5); rg.Style = cs;
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