WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GaugeAnnotation - WPF API Reference | Syncfusion GaugeAnnotation, and set required properties. ">

    Show / Hide Table of Contents

    Class GaugeAnnotation

    Represents the gauge annotation. To render this annotation, create an instance GaugeAnnotation, and set required properties.

    Inheritance
    System.Object
    GaugeAnnotation
    Namespace: Syncfusion.UI.Xaml.Gauges
    Assembly: Syncfusion.SfGauge.WPF.dll
    Syntax
    public class GaugeAnnotation : ContentControl

    Constructors

    GaugeAnnotation()

    Initializes a new instance of the GaugeAnnotation class.

    Declaration
    public GaugeAnnotation()

    Fields

    AngleProperty

    Using a DependencyProperty as the backing store for Angle. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty AngleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HorizontalPositionProperty

    Using a DependencyProperty as the backing store for HorizontalPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty HorizontalPositionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    OffsetProperty

    Using a DependencyProperty as the backing store for Offset. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty OffsetProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    VerticalPositionProperty

    Using a DependencyProperty as the backing store for VerticalPosition. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty VerticalPositionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ViewMarginProperty

    Using a DependencyProperty as the backing store for ViewPoint. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty ViewMarginProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    Angle

    Gets or sets the Angle value for annotation. It is used to place the Annotation with given angle.

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

    HorizontalPosition

    Gets or sets the horizontal position of the annotation. It aligns the annotation to the start, center, or end in horizontal position.

    Declaration
    public ViewAlignment HorizontalPosition { get; set; }
    Property Value
    Type Description
    ViewAlignment

    Offset

    Gets or sets the position of the annotation. It moves the Annotation from the center to edge of the circular gauge. The value should be from 0 and 1.

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

    VerticalPosition

    Gets or sets the vertical position of the annotation. It aligns the annotation to the start, center or end in horizontal position.

    Declaration
    public ViewAlignment VerticalPosition { get; set; }
    Property Value
    Type Description
    ViewAlignment

    ViewMargin

    Gets or sets the ViewMargin of the annotation. It is used to customize the Annotation x and y position by using the pixel values.

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