Class
GaugeGradientRange

A gauge range that works with gradient stops. The range is drawn by gradually transitioning from one color to another.

Definition

Namespace:Telerik.Maui.Controls.Gauges

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class GaugeGradientRange : GaugeRangeBase

Inheritance: objectGaugeRangeBaseGaugeGradientRange

Inherited Members GaugeRangeBase.FromPropertyGaugeRangeBase.ToPropertyGaugeRangeBase.FromGaugeRangeBase.To

Constructors

GaugeGradientRange()

Declaration

cs-api-definition
public GaugeGradientRange()

Properties

GradientStops

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

Declaration

cs-api-definition
public ObservableItemCollection<RadGradientStop> GradientStops { get; }

Property Value

ObservableItemCollection<RadGradientStop>

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.

Declaration

cs-api-definition
public bool IsOffsetRelative { get; set; }

Property Value

bool