Xceed DataGrid for WPF v7.2 Documentation
SetSurfaceConfigurationContext Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views.Surfaces Namespace > MultiSurfaceViewBase Class : SetSurfaceConfigurationContext Method
The dependency object to which the attached property is written.
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). 
Sets the context through which the properties exposed by a surface configuration and multi-surface an be accessed.
Syntax
'Declaration
 
Public Shared Sub SetSurfaceConfigurationContext( _

   ByVal obj As DependencyObject, _

   ByVal value As SurfaceConfigurationContext _

) 
'Usage
 
Dim obj As DependencyObject

Dim value As SurfaceConfigurationContext

 

MultiSurfaceViewBase.SetSurfaceConfigurationContext(obj, value)
public static void SetSurfaceConfigurationContext( 

   DependencyObject obj,

   SurfaceConfigurationContext value

)

Parameters

obj
The dependency object to which the attached property is written.
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