Class MarkerPointer
Base class for ShapePointer and ContentPointer. It holds the common properties and logics for customizing ShapePointer and ContentPointer.
Inherited Members
Namespace: Syncfusion.Maui.Gauges
Assembly: Syncfusion.Maui.Gauges.dll
Syntax
public abstract class MarkerPointer : RadialPointer, IThemeElement
Examples
<gauge:SfRadialGauge>
<gauge:SfRadialGauge.Axes>
<gauge:RadialAxis>
<gauge:RadialAxis.Pointers>
<gauge:ShapePointer Value="50" Offset="0.35" OffsetUnit="Factor"
IsInteractive="True" ShapeType="Circle"/>
</gauge:RadialAxis.Pointers>
</gauge:RadialAxis>
</gauge:SfRadialGauge.Axes>
</gauge:SfRadialGauge>
Constructors
MarkerPointer()
Initializes a new instance of the MarkerPointer class.
Declaration
public MarkerPointer()
Fields
OffsetProperty
Identifies the Offset bindable property.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Offset bindable property. |
OffsetUnitProperty
Identifies the OffsetUnit bindable property.
Declaration
public static readonly BindableProperty OffsetUnitProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for OffsetUnit bindable property. |
Properties
Offset
Gets or sets a value that specifies the marker position value either in logical pixel or radius factor.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | It defines the position offset of the marker either pixel or factor. The default value is |
Examples
<gauge:SfRadialGauge>
<gauge:SfRadialGauge.Axes>
<gauge:RadialAxis>
<gauge:RadialAxis.Pointers>
<gauge:ShapePointer Value="50" Offset="0.35" OffsetUnit="Factor"
IsInteractive="True" ShapeType="Circle"/>
</gauge:RadialAxis.Pointers>
</gauge:RadialAxis>
</gauge:SfRadialGauge.Axes>
</gauge:SfRadialGauge>
OffsetUnit
Gets or sets the value that indicates to calculate the marker pointer offset in logical pixel or radius factor.
Declaration
public SizeUnit OffsetUnit { get; set; }
Property Value
Type | Description |
---|---|
SizeUnit | One of the SizeUnit enumeration that specifies how the Offset value is considered. The default mode is Pixel. |
Examples
<gauge:SfRadialGauge>
<gauge:SfRadialGauge.Axes>
<gauge:RadialAxis>
<gauge:RadialAxis.Pointers>
<gauge:ShapePointer Value="50" Offset="0.35" OffsetUnit="Factor"
IsInteractive="True" ShapeType="Circle"/>
</gauge:RadialAxis.Pointers>
</gauge:RadialAxis>
</gauge:SfRadialGauge.Axes>
</gauge:SfRadialGauge>