'Declaration Public Property Styles As CellStyleCollection
public CellStyleCollection Styles {get; set;}
'Declaration Public Property Styles As CellStyleCollection
public CellStyleCollection Styles {get; set;}
The C1.Win.C1FlexGrid.C1FlexGridBase.Styles property enables you to obtain a reference to the list of styles that are currently defined in the grid. With this reference, you can add, remove, and count the styles. For more information on the tasks that can be performed with this collection, see the C1.Win.C1FlexGrid.CellStyleCollection class reference topics. For information on cell formatting, see the C1.Win.C1FlexGrid.CellStyle reference topics.
This property is read-only. The grid creates and manages the collection for you.
Upgrade Note: The VSFlexGrid ActiveX control had many properties that affected the way the grid was displayed (e.g. BackColor, BackColorAlternate, BackColorBkg, BackColorFixed, BackColorFrozen, BackColorSel, and so on). The C1FlexGrid control replaces all these properties with a collection of C1.Win.C1FlexGrid.CellStyle objects. This makes the object model simpler, more consistent, and more powerful. You can change the built-in styles or define your own, and assign them to rows, columns, or arbitrary cell ranges.