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

Represents a bar indicator for gauge controls that displays a bar element with customizable thickness and caps.

Definition

Constructors

C#
public GaugeBarIndicator()

Fields

EndCapProperty

BindableProperty

Identifies the EndCap property.

C#
public static readonly BindableProperty EndCapProperty

EndThicknessProperty

BindableProperty

Identifies the EndThickness property.

C#
public static readonly BindableProperty EndThicknessProperty

StartCapProperty

BindableProperty

Identifies the StartCap property.

C#
public static readonly BindableProperty StartCapProperty

StartThicknessProperty

BindableProperty

Identifies the StartThickness property.

C#
public static readonly BindableProperty StartThicknessProperty

Properties

Gets or sets the cap style at the end of the bar indicator.

C#
public GaugeBarIndicatorCap EndCap { get; set; }

Gets or sets the thickness of the bar at the end position.

C#
public double EndThickness { get; set; }

Gets the collection of gradient stops in accordance to which the bar is painted. The Offset property of the gradient stop is treated in respect to the IsOffsetRelative property value of the indicator.

C#
public ObservableItemCollection<RadGradientStop> GradientStops { get; }

Gets or sets a value indicating whether the Offset property of the gradient stops should be treated as a relative value between 0 and 1 or an absolute value in respect to the axis range.

C#
public bool IsOffsetRelative { get; set; }

Gets or sets the cap style at the start of the bar indicator.

C#
public GaugeBarIndicatorCap StartCap { get; set; }

Gets or sets the thickness of the bar at the start position.

C#
public double StartThickness { get; set; }

Methods

Called when a property value changes.

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

The name of the property that changed.