Xceed Toolkit Plus for WPF v4.6 Documentation
Palette Constructor


Xceed.Wpf.Themes.MaterialDesign Assembly > Xceed.Wpf.Themes.MaterialDesign Namespace > Palette Class : Palette Constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal primarySwatch As Swatch, _
   ByVal accentSwatch As Swatch, _
   ByVal primaryLightHueIndex As Integer, _
   ByVal primaryMidHueIndex As Integer, _
   ByVal primaryDarkHueIndex As Integer, _
   ByVal accentHueIndex As Integer _
)
'Usage
 
Dim primarySwatch As Swatch
Dim accentSwatch As Swatch
Dim primaryLightHueIndex As Integer
Dim primaryMidHueIndex As Integer
Dim primaryDarkHueIndex As Integer
Dim accentHueIndex As Integer
 
Dim instance As New Palette(primarySwatch, accentSwatch, primaryLightHueIndex, primaryMidHueIndex, primaryDarkHueIndex, accentHueIndex)

Parameters

primarySwatch
accentSwatch
primaryLightHueIndex
primaryMidHueIndex
primaryDarkHueIndex
accentHueIndex
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

Palette Class
Palette Members