DiagramColorPalette(Color[], Color, Color) Constructor
Initializes a new instance of the DiagramColorPalette class.
Namespace: DevExpress.Diagram.Core.Themes
Assembly: DevExpress.Diagram.v23.2.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
accents | Color[] | A collection of accent colors represented by System.Drawing.Color objects. |
light | Color | A System.Drawing.Color object representing the Light color. |
dark | Color | A System.Drawing.Color object representing the Dark color. |
Remarks
The following code snippet illustrates how to create a DiagramColorPalette in XAML.
<ColorPalette Dark="Green" Light="LightGray" Accent1="Red" Accent2="Blue" Accent3="Brown" Accent4="Orange" Accent5="Violet" Accent6="DarkCyan" />
See Also