menu

Class MarkerPointer - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MarkerPointer

    Base class for ContentPointer and ShapePointer.

    Inheritance
    System.Object
    GaugePointer
    MarkerPointer
    ContentPointer
    ShapePointer
    Inherited Members
    GaugePointer.AnimationDuration
    GaugePointer.AnimationDurationProperty
    GaugePointer.AnimationEasingFunction
    GaugePointer.AnimationEasingFunctionProperty
    GaugePointer.EnableAnimation
    GaugePointer.EnableAnimationProperty
    GaugePointer.IsInteractive
    GaugePointer.IsInteractiveProperty
    GaugePointer.OnCreateAutomationPeer()
    GaugePointer.OnPointerReleased(PointerRoutedEventArgs)
    GaugePointer.Value
    GaugePointer.ValueChangeCompleted
    GaugePointer.ValueChanged
    GaugePointer.ValueChangeStarted
    GaugePointer.ValueChanging
    GaugePointer.ValueProperty
    Namespace: Syncfusion.UI.Xaml.Gauges
    Assembly: Syncfusion.Gauge.WinUI.dll
    Syntax
    public abstract class MarkerPointer : GaugePointer

    Constructors

    MarkerPointer()

    Declaration
    protected MarkerPointer()

    Fields

    MarkerOffsetProperty

    Identifies the MarkerOffset dependency property.

    Declaration
    public static readonly DependencyProperty MarkerOffsetProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for MarkerOffset dependency property.

    OffsetUnitProperty

    Identifies the OffsetUnit dependency property.

    Declaration
    public static readonly DependencyProperty OffsetUnitProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for OffsetUnit dependency property.

    Properties

    MarkerOffset

    Gets or sets a value that specifies the marker position value either in logical pixel or radius factor.

    Declaration
    public double MarkerOffset { 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

    If OffsetUnit is Factor, value will be given from 0 to 1. Here pointer placing position is calculated by MarkerOffset * axis radius value. Example: MarkerOffset value is 0.2 and axis radius is 100, pointer is moving 20(0.2 * 100) logical pixels from axis outer radius. If OffsetUnit is Pixel, defined value distance pointer will move from the outer radius axis. When you specify MarkerOffset is negative, the pointer will be positioned outside the axis.

    <gauge:SfRadialGauge>
        <gauge:SfRadialGauge.Axes>
            <gauge:RadialAxis>
                <gauge:RadialAxis.Pointers>
                    <gauge:ShapePointer MarkerOffset="0.2" />
                </ 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 MarkerOffset value is considered. The default mode is Pixel.

    Examples
    <gauge:SfRadialGauge>
        <gauge:SfRadialGauge.Axes>
            <gauge:RadialAxis>
                <gauge:RadialAxis.Pointers>
                    <gauge:ShapePointer OffsetUnit="Factor" />
                </gauge:RadialAxis.Pointers>
            </gauge:RadialAxis>
        </gauge:SfRadialGauge.Axes>
    </gauge:SfRadialGauge>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved