menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class LinearGaugeAnnotation

    Represents the linear gauge annotation. To render this annotation, create an instance of LinearGaugeAnnotation class, and set required properties.

    Inheritance
    System.Object
    LinearGaugeAnnotation
    Namespace: Syncfusion.SfGauge.XForms
    Assembly: Syncfusion.SfGauge.XForms.dll
    Syntax
    public class LinearGaugeAnnotation : BindableObject

    Constructors

    LinearGaugeAnnotation()

    Initializes a new instance of the LinearGaugeAnnotation class to set required annotation properties in linear gauge annotation.

    Declaration
    public LinearGaugeAnnotation()

    Fields

    HorizontalViewAlignmentProperty

    Gets or sets the HorizontalAlignment property position of the annotation. It aligns the view horizontal position based on view alignment.

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

    OffsetXProperty

    Gets or sets the position property of the annotation. It customizes the horizontal position of annotation based on offset.

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

    OffsetYProperty

    Gets or sets the position property of annotation. It customizes the vertical position of an annotation based on offset.

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

    ScaleIndexProperty

    Gets or sets the value to the ScaleIndex property of annotation. It sets annotation to the specified index of scale.

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

    ScaleValueProperty

    Gets or sets a value to the ScaleValue propertry of annotation. It customizes the annotation based on scale value.

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

    VerticalViewAlignmentProperty

    Gets or sets the VerticalAlignment property position of annotation. It aligns the view vertical position based on view alignment.

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

    ViewMarginProperty

    Gets or sets the ViewMargin of annotation. You can customize the margin of view by setting this property. This is a bindable property.

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

    ViewProperty

    Gets or sets the view of the annotation. You can customize the view of annotation. This is a bindable property.

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

    Properties

    HorizontalViewAlignment

    Gets or sets the HorizontalAlignment position of annotation. It aligns the view horizontal position based on view alignment.

    Declaration
    public ViewAlignment HorizontalViewAlignment { get; set; }
    Property Value
    Type
    ViewAlignment

    OffsetX

    Gets or sets the position of annotation. It customizes the horizontal position of an annotation based on offset.

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

    OffsetY

    Gets or sets the position of annotation. It customizes the vertical position of an annotation based on offset.

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

    ScaleIndex

    Gets or sets a value for the ScaleIndex of annotation. It sets annotation to the specified index of scale.

    Declaration
    public int ScaleIndex { get; set; }
    Property Value
    Type
    System.Int32

    ScaleValue

    Gets or sets the value for ScaleValue of annotation placement.Used to customize the annotation based on scale value.

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

    VerticalViewAlignment

    Gets or sets the VerticalAlignment position of annotation. It aligns the view vertical position based on view alignment.

    Declaration
    public ViewAlignment VerticalViewAlignment { get; set; }
    Property Value
    Type
    ViewAlignment

    View

    Gets or sets the view property of annotation. You can customize the view of annotation. This is a bindable property.

    Declaration
    public View View { get; set; }
    Property Value
    Type
    Xamarin.Forms.View

    ViewMargin

    Gets or sets the ViewMargin of annotation. You can customize the margin of view by setting this property. This is a bindable property.

    Declaration
    public Point ViewMargin { get; set; }
    Property Value
    Type
    Xamarin.Forms.Point
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved