corelibraries-devexpress-dot-xtragauges-dot-core-dot-primitive-dot-baseleafprimitive.md
Gets or sets an object that allows the color of the object to be modified.
Namespace : DevExpress.XtraGauges.Core.Primitive
Assembly : DevExpress.XtraGauges.v25.2.Core.dll
NuGet Package : DevExpress.Gauges.Core
public BaseColorShader Shader { get; set; }
Public Property Shader As BaseColorShader
| Type | Description |
|---|---|
| DevExpress.XtraGauges.Core.Drawing.BaseColorShader |
A BaseColorShader object that represents the shader object.
|
See Appearance Customization, to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Shader property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-wpf-advanced-gauge-customization/CS/MainWindow.xaml.cs#L81
marker.ShapeType = MarkerPointerShapeType.Diamond;
marker.Shader = new StyleShader() { StyleColor1 = Color.Blue, StyleColor2 = Color.Blue };
marker.ShapeOffset = -20.0f;
reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L68
marker.ShapeType = MarkerPointerShapeType.Diamond
marker.Shader = New StyleShader() With {.StyleColor1 = Color.Blue, .StyleColor2 = Color.Blue}
marker.ShapeOffset = -20.0F
See Also