Xceed Toolkit Plus for WPF v4.6 Documentation
PrepareDefaultStyleKey Method (ColumnManagerRow)
Example 


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ColumnManagerRow Class : PrepareDefaultStyleKey Method
The view from which to retrieve the current style key.
When deriving from the ColumnManagerRow 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 ColumnManagerRow
Dim view As ViewBase
 
instance.PrepareDefaultStyleKey(view)
protected internal override void PrepareDefaultStyleKey( 
   ViewBase view
)

Parameters

view
The view from which to retrieve the current style key.
Example
Typically, the implementation of this method is the following:
protected internal virtual void PrepareDefaultStyleKey( ViewBase viewBase )
{
  this.DefaultStyleKey = viewBase.GetDefaultStyleKey( typeof( ColumnManagerRow ) );
}
Typically, the implementation of this method is the following:
Protected Friend Overrides Sub PrepareDefaultStyleKey( ByVal viewBase As ViewBase )
   Me.DefaultStyleKey = viewBase.GetDefaultStyleKey( GetType( ColumnManagerRow ) )
End Sub
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ColumnManagerRow Class
ColumnManagerRow Members
Base Implementation in PrepareDefaultStyleKey