ClassGaugeBarIndicator
Represents a bar indicator for gauge controls that displays a bar element with customizable thickness and caps.
Definition
Namespace:Telerik.Maui.Controls.Gauges
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class GaugeBarIndicator : GaugeSingleValueIndicatorBase
Inheritance: objectGaugeIndicatorBaseGaugeSingleValueIndicatorBaseGaugeBarIndicator
Inherited Members
Constructors
GaugeBarIndicator()
Declaration
public GaugeBarIndicator()
Fields
EndCapProperty
Identifies the EndCap property.
Declaration
public static readonly BindableProperty EndCapProperty
Field Value
BindableProperty
EndThicknessProperty
Identifies the EndThickness property.
Declaration
public static readonly BindableProperty EndThicknessProperty
Field Value
BindableProperty
StartCapProperty
Identifies the StartCap property.
Declaration
public static readonly BindableProperty StartCapProperty
Field Value
BindableProperty
StartThicknessProperty
Identifies the StartThickness property.
Declaration
public static readonly BindableProperty StartThicknessProperty
Field Value
BindableProperty
Properties
EndCap
Gets or sets the cap style at the end of the bar indicator.
Declaration
public GaugeBarIndicatorCap EndCap { get; set; }
Property Value
EndThickness
Gets or sets the thickness of the bar at the end position.
GradientStops
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.
Declaration
public ObservableItemCollection<RadGradientStop> GradientStops { get; }
Property Value
IsOffsetRelative
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.
StartCap
Gets or sets the cap style at the start of the bar indicator.
Declaration
public GaugeBarIndicatorCap StartCap { get; set; }
Property Value
StartThickness
Gets or sets the thickness of the bar at the start position.
Methods
OnPropertyChanged(string)
Called when a property value changes.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
The name of the property that changed.