FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / CellStyle Class / Apply Method / Apply(Border,SelectedState) Method
System.Windows.Controls.Border element that represents a cell.
SelectedState value that reflects the cell's current selected state.

In This Topic
    Apply(Border,SelectedState) Method
    In This Topic
    Applies the attributes defined by this CellStyle to a cell.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub Apply( _
       ByVal bdr As Border, _
       ByVal selState As SelectedState _
    ) 
    public virtual void Apply( 
       Border bdr,
       SelectedState selState
    )

    Parameters

    bdr
    System.Windows.Controls.Border element that represents a cell.
    selState
    SelectedState value that reflects the cell's current selected state.
    See Also