GaugeShapeIndicator
Represents a gauge indicator that displays a custom shape at a specific position on the gauge. This indicator extends GaugeSingleValueIndicatorBase to provide shape-based visual representation.
Definition
Namespace:Telerik.Maui.Controls.Gauges
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class GaugeShapeIndicator : GaugeSingleValueIndicatorBase
Inheritance: objectGaugeIndicatorBaseGaugeSingleValueIndicatorBaseGaugeShapeIndicator
Inherited Members
Constructors
Initializes a new instance of the GaugeShapeIndicator class.
public GaugeShapeIndicator()
Fields
ShapeProperty
BindableProperty
Identifies the Shape bindable property.
public static readonly BindableProperty ShapeProperty
SizeProperty
BindableProperty
Identifies the Size bindable property.
public static readonly BindableProperty SizeProperty
Properties
Gets or sets the path geometry that represents the shape of the indicator. At run-time this geometry is positioned in accordance to the Position and Offset properties and is scaled in accordance to the Size property. In order for the shape to be positioned and scaled properly the positions of the provided geometry must be normalized between 0 and 1. The pivotal point of the shape is considered to be its center, i.e. (0.5, 0.5). The orientation of the indicator is considered to be from (1.0, 0.5) to its center.
[TypeConverter(typeof(GeometryTypeConverter))]
public RadPathGeometry Shape { get; set; }
A RadPathGeometry that defines the visual shape of the indicator.
Methods
Called when a property value changes to update the internal model.
protected override void OnPropertyChanged(string propertyName = null)
The name of the property that changed. This parameter is automatically provided by the CallerMemberNameAttribute.