Class
GaugeRangesDefinition

A class that encapsulates ranges specific information such as Position, Offset, StartThickness and other properties that apply to all ranges in a gauge.

Definition

Namespace:Telerik.Maui.Controls.Gauges

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class GaugeRangesDefinition : BindableObject

Inheritance: objectGaugeRangesDefinition

Constructors

GaugeRangesDefinition()

Initializes a new instance of the GaugeRangesDefinition class.

Declaration

cs-api-definition
public GaugeRangesDefinition()

Properties

EndThickness

Gets or sets the end thickness of the ranges segment.

Declaration

cs-api-definition
public double EndThickness { get; set; }

Property Value

double

Offset

Gets or sets the distance between the range and axis line.

Declaration

cs-api-definition
public double Offset { get; set; }

Property Value

double

Position

Gets or sets the position of the ranges with respect to the axis line.

Declaration

cs-api-definition
public GaugeElementPosition Position { get; set; }

Property Value

GaugeElementPosition

Ranges

Gets the collection of ranges.

Declaration

cs-api-definition
public ObservableItemCollection<GaugeRangeBase> Ranges { get; }

Property Value

ObservableItemCollection<GaugeRangeBase>

StartThickness

Gets or sets the start thickness of the ranges segment.

Declaration

cs-api-definition
public double StartThickness { get; set; }

Property Value

double

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()