menu

MAUI

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

    Show / Hide Table of Contents

    Class MarkerPointer

    Base class for ShapePointer and ContentPointer. It holds the common properties and logics for customizing ShapePointer and ContentPointer.

    Inheritance
    System.Object
    RadialPointer
    MarkerPointer
    ContentPointer
    ShapePointer
    Inherited Members
    RadialPointer.AnimationDuration
    RadialPointer.AnimationDurationProperty
    RadialPointer.AnimationEasing
    RadialPointer.AnimationEasingProperty
    RadialPointer.EnableAnimation
    RadialPointer.EnableAnimationProperty
    RadialPointer.IsInteractive
    RadialPointer.IsInteractiveProperty
    RadialPointer.StepFrequency
    RadialPointer.StepFrequencyProperty
    RadialPointer.Value
    RadialPointer.ValueChangeCompleted
    RadialPointer.ValueChanged
    RadialPointer.ValueChangeStarted
    RadialPointer.ValueChanging
    RadialPointer.ValueProperty
    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 double.NaN.

    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>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved