Xceed Toolkit Plus for WPF v4.6 Documentation
ThemeKey Constructor(Type,Type,Type)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Markup Namespace > ThemeKey Class > ThemeKey Constructor : ThemeKey Constructor(Type,Type,Type)
The Type of the view to which the style is associated.
The Type of the theme to which the style is associated.
The Type of the element to which the style is associated.
Initializes a new instance of the ThemeKey specifying the Type of the view, type, and element to which the style applies.
Syntax
'Declaration
 
Public Function New( _
   ByVal targetViewType As Type, _
   ByVal themeType As Type, _
   ByVal targetElementType As Type _
)
'Usage
 
Dim targetViewType As Type
Dim themeType As Type
Dim targetElementType As Type
 
Dim instance As New ThemeKey(targetViewType, themeType, targetElementType)
public ThemeKey( 
   Type targetViewType,
   Type themeType,
   Type targetElementType
)

Parameters

targetViewType
The Type of the view to which the style is associated.
themeType
The Type of the theme to which the style is associated.
targetElementType
The Type of the element to which the style is associated.
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

ThemeKey Class
ThemeKey Members
Overload List