ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / Column Class / StyleNew Property

In This Topic
    StyleNew Property (Column)
    In This Topic
    Gets or sets a custom CellStyle associated with this row or column, creating a new style if necessary.
    Syntax
    'Declaration
     
    Public Overridable ReadOnly Property StyleNew As CellStyle
    public virtual CellStyle StyleNew {get;}
    Remarks
    This property never returns null. If this element does not have a custom style, a new one will be created automatically and returned.
    Example
    The code below sets a column's background color to red.
    See Also