Class LinearMarkerPointer
Base class for LinearShapePointer and LinearContentPointer. It holds the common properties and logics for customizing LinearShapePointer and LinearContentPointer.
Inherited Members
Namespace: Syncfusion.Maui.Gauges
Assembly: Syncfusion.Maui.Gauges.dll
Syntax
public abstract class LinearMarkerPointer : LinearPointer
Examples
<gauge:SfLinearGauge>
<gauge:SfLinearGauge.MarkerPointers>
<gauge:LinearShapePointer Position = "Outside"
Value="70" OffsetY="-10"/>
</gauge:SfLinearGauge.MarkerPointers>
</gauge:SfLinearGauge>
Constructors
LinearMarkerPointer()
Declaration
protected LinearMarkerPointer()
Fields
AlignmentProperty
Identifies the Alignment bindable property.
Declaration
public static readonly BindableProperty AlignmentProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Alignment bindable property. |
OffsetXProperty
Identifies the OffsetX bindable property.
Declaration
public static readonly BindableProperty OffsetXProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for OffsetX bindable property. |
OffsetYProperty
Identifies the OffsetY bindable property.
Declaration
public static readonly BindableProperty OffsetYProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for OffsetY bindable property. |
Properties
Alignment
Gets or sets the placement (start, center or end) of the marker pointer relative to its position.
Declaration
public GaugeAlignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
GaugeAlignment | One of the enumeration values that specifies the alignment of marker in the linear gauge. The default is Center. |
Examples
<gauge:SfLinearGauge>
<gauge:SfLinearGauge.MarkerPointers>
<gauge:LinearShapePointer Position="Outside"
Value="70" Alignment="Start"/>
</gauge:SfLinearGauge.MarkerPointers>
</gauge:SfLinearGauge>
OffsetX
Gets or sets the value to adjusts the left/right direction of marker pointer position from the current value location to the custom position.
Declaration
public double OffsetX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Its default value is |
Examples
<gauge:SfLinearGauge Orientation="Vertical">
<gauge:SfLinearGauge.MarkerPointers>
<gauge:LinearShapePointer Position="Outside"
Value="70" OffsetX="-10"/>
</gauge:SfLinearGauge.MarkerPointers>
</gauge:SfLinearGauge>
OffsetY
Gets or sets the value to adjusts the top/bottom direction of marker pointer position from the current value location to the custom position.
Declaration
public double OffsetY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Its default value is |
Examples
<gauge:SfLinearGauge>
<gauge:SfLinearGauge.MarkerPointers>
<gauge:LinearShapePointer Position="Outside"
Value="70" OffsetY="-10"/>
</gauge:SfLinearGauge.MarkerPointers>
</gauge:SfLinearGauge>