Class ColorPalette
Represents a class to create the color palatte for diagram theme styles.
Inheritance
System.Object
ColorPalette
Namespace: Syncfusion.UI.Xaml.Diagram.Theming
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class ColorPalette : Object
Constructors
ColorPalette()
Declaration
public ColorPalette()
Properties
Accent1
Gets or sets Accent1 brush color for color palette.
Declaration
public Brush Accent1 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent2
Gets or sets Accent2 brush color for color palette.
Declaration
public Brush Accent2 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent3
Gets or sets Accent3 brush color for color palette.
Declaration
public Brush Accent3 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent4
Gets or sets Accent4 brush color for color palette.
Declaration
public Brush Accent4 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent5
Gets or sets Accent5 brush color for color palette.
Declaration
public Brush Accent5 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent6
Gets or sets Accent6 brush color for color palette.
Declaration
public Brush Accent6 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Accent7
Gets or sets Accent7 brush color for color palette.
Declaration
public Brush Accent7 { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Dark
Gets or sets dark brush color for color palette.
Declaration
public Brush Dark { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Light
Gets or sets light brush color for color palette.
Declaration
public Brush Light { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Media.Brush |
Methods
GetBaseColor(BaseColor, String)
To get the base colors for diagram themes.
Declaration
public virtual Color GetBaseColor(BaseColor baseColor, string accent)
Parameters
Type | Name | Description |
---|---|---|
BaseColor | baseColor | Gets base color value. |
System.String | accent | Gets theme varity name. |
Returns
Type | Description |
---|---|
Windows.UI.Color | Returns a color. |