RadGaugeBase
Represents the base class for gauge controls that provide visual representation of numerical data.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class RadGaugeBase : RadLayout
Inheritance: objectRadLayoutRadGaugeBase
Derived Classes:
Inherited Members
Fields
AxisProperty
BindableProperty
Identifies the Axis property.
public static readonly BindableProperty AxisProperty
RangesProperty
BindableProperty
Identifies the Ranges property.
public static readonly BindableProperty RangesProperty
Properties
Gets or sets the animation settings for the gauge.
public AnimationSettings AnimationSettings { get; set; }
An AnimationSettings object that controls the animation behavior of the gauge elements.
Gets or sets the axis. The axis handles axis line, ticks and labels logic. It dictates the mapping between the absolute and relative values so that gauge elements can be properly positioned.
public GaugeAxisBase Axis { get; set; }
Available axis types include:
- GaugeLinearAxis - Represents a linear axis for gauge controls
Gets the collection of indicators that are displayed on the gauge.
public ObservableItemCollection<GaugeIndicatorBase> Indicators { get; }
An ObservableItemCollection<T> containing the gauge indicators.
Available indicator types include:
- GaugeBarIndicator - Represents a bar indicator for gauge controls that displays a bar element with customizable thickness and caps
- GaugeRangeBarIndicator - Represents a range bar indicator for gauge controls that displays a bar element between two values with customizable thickness and caps
- GaugeNeedleIndicator - Represents a needle indicator applicable just for radial gauges. It displays a single value using a needle shape
- 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
- GaugeTextIndicator - Represents a text indicator for gauge controls that displays text content based on gauge values
Gets or sets the definition entity which encapsulates ranges specific information such as Position, Offset, StartThickness and other properties that apply to all ranges in a gauge.
public GaugeRangesDefinition Ranges { get; set; }
Gets or sets a list of style classes that are applied to the gauge.
[TypeConverter(typeof(ListStringTypeConverter))]
public IList<string> StyleClass { get; set; }
An IList<T> containing the style class names.
Methods
Invoked whenever the binding context of the element changes. Propagates the binding context to its child elements.
protected override void OnBindingContextChanged()