ClassRadGaugeBase
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
Identifies the Axis property.
Declaration
public static readonly BindableProperty AxisProperty
Field Value
BindableProperty
RangesProperty
Identifies the Ranges property.
Declaration
public static readonly BindableProperty RangesProperty
Field Value
BindableProperty
Properties
AnimationSettings
Gets or sets the animation settings for the gauge.
Declaration
public AnimationSettings AnimationSettings { get; set; }
Property Value
An AnimationSettings object that controls the animation behavior of the gauge elements.
Axis
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.
Declaration
public GaugeAxisBase Axis { get; set; }
Property Value
Remarks
Available axis types include:
- GaugeLinearAxis - Represents a linear axis for gauge controls
Indicators
Gets the collection of indicators that are displayed on the gauge.
Declaration
public ObservableItemCollection<GaugeIndicatorBase> Indicators { get; }
Property Value
ObservableItemCollection<GaugeIndicatorBase>
An ObservableItemCollection<T> containing the gauge indicators.
Remarks
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
Ranges
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.
Declaration
public GaugeRangesDefinition Ranges { get; set; }
Property Value
StyleClass
Gets or sets a list of style classes that are applied to the gauge.
Methods
OnBindingContextChanged()
Invoked whenever the binding context of the element changes. Propagates the binding context to its child elements.
Declaration
protected override void OnBindingContextChanged()