menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearMarkerPointer - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearMarkerPointer

    Base class for LinearShapePointer and LinearContentPointer. It holds the common properties and logics for customizing LinearShapePointer and LinearContentPointer.

    Inheritance
    System.Object
    LinearPointer
    LinearMarkerPointer
    LinearContentPointer
    LinearShapePointer
    Inherited Members
    LinearPointer.AnimationCompleted
    LinearPointer.AnimationDuration
    LinearPointer.AnimationDurationProperty
    LinearPointer.AnimationEasing
    LinearPointer.AnimationEasingProperty
    LinearPointer.DragOffset
    LinearPointer.DragOffsetProperty
    LinearPointer.EnableAnimation
    LinearPointer.EnableAnimationProperty
    LinearPointer.IsInteractive
    LinearPointer.IsInteractiveProperty
    LinearPointer.Position
    LinearPointer.PositionProperty
    LinearPointer.StepFrequency
    LinearPointer.StepFrequencyProperty
    LinearPointer.Value
    LinearPointer.ValueChangeCompleted
    LinearPointer.ValueChanged
    LinearPointer.ValueChangeStarted
    LinearPointer.ValueChanging
    LinearPointer.ValueProperty
    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 0.

    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 0.

    Examples
    <gauge:SfLinearGauge>
        <gauge:SfLinearGauge.MarkerPointers>
            <gauge:LinearShapePointer Position="Outside"
                                  Value="70" OffsetY="-10"/>
        </gauge:SfLinearGauge.MarkerPointers>
    </gauge:SfLinearGauge>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved