corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-linearscalemarker.md
Gets or sets the object’s painting style.
Namespace : DevExpress.XtraGauges.Core.Model
Assembly : DevExpress.XtraGauges.v25.2.Core.dll
NuGet Package : DevExpress.Gauges.Core
[DefaultValue(MarkerPointerShapeType.Default)]
public MarkerPointerShapeType ShapeType { get; set; }
<DefaultValue(MarkerPointerShapeType.Default)>
Public Property ShapeType As MarkerPointerShapeType
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraGauges.Core.Model.MarkerPointerShapeType | Default |
A MarkerPointerShapeType value that represents the object’s painting style.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapeType 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#L80
LinearScaleMarker marker = new LinearScaleMarker("marker");
marker.ShapeType = MarkerPointerShapeType.Diamond;
marker.Shader = new StyleShader() { StyleColor1 = Color.Blue, StyleColor2 = Color.Blue };
reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L67
Dim marker As LinearScaleMarker = New LinearScaleMarker("marker")
marker.ShapeType = MarkerPointerShapeType.Diamond
marker.Shader = New StyleShader() With {.StyleColor1 = Color.Blue, .StyleColor2 = Color.Blue}
See Also