GaugeNeedleIndicator
Represents a needle indicator for gauge controls that displays a single value using a needle shape.
Definition
Namespace:Telerik.Maui.Controls.Gauges
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class GaugeNeedleIndicator : GaugeSingleValueIndicatorBase
Inheritance: objectGaugeIndicatorBaseGaugeSingleValueIndicatorBaseGaugeNeedleIndicator
Inherited Members
Constructors
Initializes a new instance of the GaugeNeedleIndicator class.
public GaugeNeedleIndicator()
Fields
ShapeProperty
BindableProperty
Identifies the Shape property.
public static readonly BindableProperty ShapeProperty
Properties
Gets or sets the path geometry that represents the shape of the needle. At run-time this geometry is scaled so that its width fits the diameter of the radial gauge (Position and Offset are also taken into account). In order for the needle to be positioned properly the positions of the provided geometry must be normalized between 0 and 1. The center of the needle is considered to be in the center of the normalized rectangle, i.e. (0.5, 0.5). The orientation of the needle is considered to be at 0 degrees from its center, i.e. the tip of the needle is at (1.0, 0.5).
[TypeConverter(typeof(GeometryTypeConverter))]
public RadPathGeometry Shape { get; set; }
A RadPathGeometry representing the needle shape.
Methods
Called when a property value changes.
protected override void OnPropertyChanged(string propertyName = null)
The name of the property that changed.