Class ColorPattern
Represents a class to create color pattern for diagram themes.
Namespace: Syncfusion.UI.Xaml.Diagram.Theming
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public abstract class ColorPattern : Object
Constructors
ColorPattern()
Declaration
protected ColorPattern()
Methods
GetBrush(Theme, String)
To create brushes fo color pattern of themes.
Declaration
public abstract Brush GetBrush(Theme theme, string accent)
Parameters
Type | Name | Description |
---|---|---|
Theme | theme | Gets diagram theme. |
System.String | accent | Gets accent color name. |
Returns
Type |
---|
System.Windows.Media.Brush |