menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SymbolPointer - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SymbolPointer

    Represents the symbol pointer. To render this symbol pointer, create an instance of SymbolPointer class and set required properties.

    Inheritance
    System.Object
    LinearPointer
    SymbolPointer
    Inherited Members
    LinearPointer.AnimationDuration
    LinearPointer.AnimationDurationProperty
    LinearPointer.Color
    LinearPointer.ColorProperty
    LinearPointer.EnableAnimation
    LinearPointer.EnableAnimationProperty
    LinearPointer.Thickness
    LinearPointer.ThicknessProperty
    LinearPointer.Value
    LinearPointer.ValueProperty
    Namespace: Syncfusion.SfGauge.XForms
    Assembly: Syncfusion.SfGauge.XForms.dll
    Syntax
    public class SymbolPointer : LinearPointer, IThemeElement

    Constructors

    SymbolPointer()

    Initializes a new instance of the SymbolPointer class. Using this instance, customize the symbol pointer by setting required properties.

    Declaration
    public SymbolPointer()

    Fields

    ImageSourceProperty

    Gets or sets the source path property for image symbol. It sets the source path for image. This is a bindable property.

    Declaration
    public static readonly BindableProperty ImageSourceProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    LengthFactorProperty

    Gets or sets the length factor property of pointer. It sets the length factor for pointer. This is a bindable property.

    Declaration
    public static readonly BindableProperty LengthFactorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    MarkerShapeProperty

    Gets or sets the marker shape property of symbol pointer. It customizes the marker shapes for pointer. This is a bindable property.

    Declaration
    public static readonly BindableProperty MarkerShapeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    OffsetProperty

    Gets or sets the offset proeprty of the linear gauge. It customizes the pointer position. This is a bindable property.

    Declaration
    public static readonly BindableProperty OffsetProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    SymbolPointerPositionProperty

    Gets or sets the symbolpointer position property of linear gauge. It customizes the symbol pointer position. This is a bindable property.

    Declaration
    public static readonly BindableProperty SymbolPointerPositionProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    ImageSource

    Gets or sets the source path for image symbol. It sets the source path for image. This is a bindable property.

    Declaration
    public string ImageSource { get; set; }
    Property Value
    Type
    System.String

    LengthFactor

    Gets or sets the length factor property of symbol pointer. It sets the lenght factor for pointer. This is a bindable property.

    Declaration
    public double LengthFactor { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Double as value.

    Examples

    This sample shows how to set the LengthFactor for the gauge.

    void MyPage()
    {
    	SfLinearGauge gauge = new SfLinearGauge();
    	LinearScale scale = new LinearScale();
    	SymbolPointer pointer = new SymbolPointer();
    	pointer.LengthFactor= 0.4;
    	scale.Pointers.Add(pointer);
    	gauge.Scales.Add(scale);
    }

    MarkerShape

    Gets or sets the marker shape symbol pointer. It customizes the marker shapes for pointer. This is a bindable property.

    Declaration
    public MarkerShape MarkerShape { get; set; }
    Property Value
    Type Description
    MarkerShape

    This property takes the MarkerShape as value.

    Examples

    This sample shows how to set the LengthFactor for the gauge.

    void MyPage()
    {
    	SfLinearGauge gauge = new SfLinearGauge();
    	LinearScale scale = new LinearScale();
    	SymbolPointer pointer = new SymbolPointer();
    	pointer.MarkerShape= MarkerShape.Triangle;
    	scale.Pointers.Add(pointer);
    	gauge.Scales.Add(scale);
    }

    Offset

    Gets or sets the offset of linear gauge. It customizes the pointer position. This is a bindable property.

    Declaration
    public double Offset { get; set; }
    Property Value
    Type Description
    System.Double

    This property takes the System.Double as value.

    Examples

    This sample shows how to set the Offset for the gauge.

    void MyPage()
    {
    	SfLinearGauge gauge = new SfLinearGauge();
    	LinearScale scale = new LinearScale();
    	SymbolPointer pointer = new SymbolPointer();
    	pointer.Offset = 0.4;
    	scale.Pointers.Add(pointer);
    	gauge.Scales.Add(scale);
    }

    SymbolPointerPosition

    Gets or sets the symbolpointer position of linear gauge. It customizes the symbol pointer position. This is a bindable property.

    Declaration
    public SymbolPointerPosition SymbolPointerPosition { get; set; }
    Property Value
    Type Description
    SymbolPointerPosition

    This property takes the System.Double as value.

    Examples

    This sample shows how to set the symbolpointer position for the gauge.

    void MyPage()
    {
    	SfLinearGauge gauge = new SfLinearGauge();
    	LinearScale scale = new LinearScale();
    	SymbolPointer pointer = new SymbolPointer();
    	pointer.SymbolPointerPosition = SymbolPointerPoisition.Away;
    	scale.Pointers.Add(pointer);
    	gauge.Scales.Add(scale);
    }
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved