Class
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:

cs-api-definition
public abstract class RadGaugeBase : RadLayout

Inheritance: objectRadLayoutRadGaugeBase

Derived Classes: RadHorizontalGaugeRadRadialGaugeRadVerticalGauge

Inherited Members RadLayout.CreateLayoutManager()

Fields

AxisProperty

Identifies the Axis property.

Declaration

cs-api-definition
public static readonly BindableProperty AxisProperty

Field Value

BindableProperty

RangesProperty

Identifies the Ranges property.

Declaration

cs-api-definition
public static readonly BindableProperty RangesProperty

Field Value

BindableProperty

Properties

AnimationSettings

Gets or sets the animation settings for the gauge.

Declaration

cs-api-definition
public AnimationSettings AnimationSettings { get; set; }

Property Value

AnimationSettings

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

cs-api-definition
public GaugeAxisBase Axis { get; set; }

Property Value

GaugeAxisBase

Remarks

Available axis types include:

Indicators

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

Declaration

cs-api-definition
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

cs-api-definition
public GaugeRangesDefinition Ranges { get; set; }

Property Value

GaugeRangesDefinition

StyleClass

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

Declaration

cs-api-definition
[TypeConverter(typeof(ListStringTypeConverter))]
public IList<string> StyleClass { get; set; }

Property Value

IList<string>

An IList<T> containing the style class names.

Methods

OnBindingContextChanged()

Invoked whenever the binding context of the element changes. Propagates the binding context to its child elements.

Declaration

cs-api-definition
protected override void OnBindingContextChanged()