FlexSheet for WPF | ComponentOne
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
     
    
    <ObsoleteAttribute("Please use Apply(Border) instead.")>
    Public Overloads Overridable Sub Apply( _
       ByVal bdr As Border, _
       ByVal selState As SelectedState _
    ) 
    [Obsolete("Please use Apply(Border) instead.")]
    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