ClassGaugeShapeIndicator
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
GaugeShapeIndicator()
Initializes a new instance of the GaugeShapeIndicator class.
Declaration
public GaugeShapeIndicator()
Fields
ShapeProperty
Identifies the Shape bindable property.
Declaration
public static readonly BindableProperty ShapeProperty
Field Value
BindableProperty
SizeProperty
Identifies the Size bindable property.
Declaration
public static readonly BindableProperty SizeProperty
Field Value
BindableProperty
Properties
Shape
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.
Declaration
[TypeConverter(typeof(GeometryTypeConverter))]
public RadPathGeometry Shape { get; set; }
Property Value
A RadPathGeometry that defines the visual shape of the indicator.
Methods
OnPropertyChanged(string)
Called when a property value changes to update the internal model.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed. This parameter is automatically provided by the CallerMemberNameAttribute.