ComponentOne FlexGrid for WinForms
CellStyleEnum Enumeration
Example Example 

C1.Win.C1FlexGrid Namespace : CellStyleEnum Enumeration
Enumeration used to retrieve CellStyle objects from the C1FlexGridBase.Styles collection.
Syntax
'Declaration
 
Public Enum CellStyleEnum 
   Inherits System.Enum
public enum CellStyleEnum : System.Enum 
Members
MemberDescription
AlternateStyle used to render scrollable cells in even-numbered rows.
EditorStyle used to render cells being edited.
EmptyAreaStyle used to render the area of the grid where there are no cells.
FilterEditorStyle used to paint the filter editors.
FirstCustomStyleConstant that indicates the first custom style.
FixedStyle used to render fixed cells.
FocusStyle used to render the cell that has the focus.
FooterStyle used to paint the footers.
FrozenStyle used to render cells that are frozen (editable and selectable, but not scrollable).
FrozenAlternateStyle used to render cells that are frozen (editable and selectable, but not scrollable) in even-numbered rows.
GrandTotalStyle automatically assigned to grand total nodes created with the C1FlexGridBase.Subtotal method.
HighlightStyle used to render cells that are selected and highlighted.
NewRowStyle used to render the last row on the grid when the C1FlexGridBase.AllowAddNew property is set to true.
NormalStyle used to render scrollable normal cells.
SearchStyle used to render cells that are being selected as the user types (see the C1FlexGridBase.AutoSearch property).
SelectedColumnHeaderStyle used to render selected column headers.
SelectedRowHeaderStyle used to render selected row headers.
Subtotal0Style automatically assigned to level-0 nodes created with the C1FlexGridBase.Subtotal method.
Subtotal1Style automatically assigned to level-1 nodes created with the C1FlexGridBase.Subtotal method.
Subtotal2Style automatically assigned to level-2 nodes created with the C1FlexGridBase.Subtotal method.
Subtotal3Style automatically assigned to level-3 nodes created with the C1FlexGridBase.Subtotal method.
Subtotal4Style automatically assigned to level-4 nodes created with the C1FlexGridBase.Subtotal method.
Subtotal5Style automatically assigned to level-5 nodes created with the C1FlexGridBase.Subtotal method.
Remarks
Cell styles can be retrieved from the C1FlexGridBase.Styles collection using the indexer or the style name. Built-in styles can also be obtained directly through read-only properties.
Example
The code below shows three ways to obtain a reference to a grid's default style:
// s1, s2, and s3 are all references to the grid's Normal style:
CellStyle s1 = _flex.Styles[CellStyleEnum.Normal];
CellStyle s2 = _flex.Styles["Normal"];
CellStyle s3 = _flex.Styles.Normal;
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         C1.Win.C1FlexGrid.CellStyleEnum

See Also

Reference

C1.Win.C1FlexGrid Namespace