Xceed DataGrid for WPF v7.2 Documentation
GetSurfaceConfigurationContext Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views.Surfaces Namespace > MultiSurfaceViewBase Class : GetSurfaceConfigurationContext Method
The dependency object from which the property value is read.
Gets the context through which the properties exposed by a surface configuration and multi-surface can be accessed.
Syntax
'Declaration
 
Public Shared Function GetSurfaceConfigurationContext( _
   ByVal obj As DependencyObject _
) As SurfaceConfigurationContext
'Usage
 
Dim obj As DependencyObject
Dim value As SurfaceConfigurationContext
 
value = MultiSurfaceViewBase.GetSurfaceConfigurationContext(obj)
public static SurfaceConfigurationContext GetSurfaceConfigurationContext( 
   DependencyObject obj
)

Parameters

obj
The dependency object from which the property value is read.

Return Value

The context through which the properties exposed by a surface configuration and multi-surface theme (e.g.,TitleRegionPosition and GradientLightColor) can be accessed in order to bind elements in the theme-defined ControlTemplates to their values or use them in triggers (see CardflowView3D.Elemental.Pink resource dictionary). 
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

MultiSurfaceViewBase Class
MultiSurfaceViewBase Members