C1.Win.C1FlexGrid Namespace > RowCol Class : StyleNew Property |
'Declaration
<BrowsableAttribute(False)> Public Overridable ReadOnly Property StyleNew As CellStyle
[Browsable(false)] public: virtual property CellStyle^ StyleNew { CellStyle^ get(); }
// get the style associated with column 1 (create a new one if necessary) CellStyle cs = _flex.Cols[1].StyleNew.BackColor; // set the new style's back color to red cs.BackColor = Color.Red;
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