Class GaugeAnnotation
Represents the gauge annotation. To render this annotation, create an instance GaugeAnnotation, and set required properties.
Inheritance
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
System.Windows.Point |