New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public abstract class RadGaugeBase : RadLayout

Inheritance: objectRadLayoutRadGaugeBase

Derived Classes: RadHorizontalGaugeRadRadialGaugeRadVerticalGauge

Inherited Members RadLayout.CreateLayoutManager()

Fields

AxisProperty

BindableProperty

Identifies the Axis property.

C#
public static readonly BindableProperty AxisProperty

RangesProperty

BindableProperty

Identifies the Ranges property.

C#
public static readonly BindableProperty RangesProperty

Properties

Gets or sets the animation settings for the gauge.

C#
public AnimationSettings AnimationSettings { get; set; }
Property Value:

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.

C#
public GaugeAxisBase Axis { get; set; }
Remarks:

Available axis types include:

Gets the collection of indicators that are displayed on the gauge.

C#
public ObservableItemCollection<GaugeIndicatorBase> Indicators { get; }
Property Value:

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

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.

C#
public GaugeRangesDefinition Ranges { get; set; }

Gets or sets a list of style classes that are applied to the gauge.

C#
[TypeConverter(typeof(ListStringTypeConverter))]
public IList<string> StyleClass { get; set; }
Property Value:

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.

C#
protected override void OnBindingContextChanged()