Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ColumnManagerCell Class / PrepareDefaultStyleKey Method
The view from which to retrieve the current style key.
Example


    PrepareDefaultStyleKey Method (ColumnManagerCell)
    When deriving from the ColumnManagerCell class, PrepareDefaultStyleKey must be overridden in order to support dynamic style (view or theme modifications) changes.
    Syntax
    'Declaration
     
    Protected Friend Overrides Sub PrepareDefaultStyleKey( _
       ByVal view As ViewBase _
    ) 
     
    'Usage
     
    Dim instance As ColumnManagerCell
    Dim view As ViewBase
     
    instance.PrepareDefaultStyleKey(view)

    Parameters

    view
    The view from which to retrieve the current style key.
    Example
    Typically, the implementation of this method is the following:Typically, the implementation of this method is the following:
    protected internal virtual void PrepareDefaultStyleKey( ViewBase viewBase )
    {
      this.DefaultStyleKey = viewBase.GetDefaultStyleKey( typeof( ColumnManagerCell ) );
    }
    Requirements

    See Also