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

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:

C#
public class GaugeGradientRange : GaugeRangeBase

Inheritance: objectGaugeRangeBaseGaugeGradientRange

Inherited Members GaugeRangeBase.FromPropertyGaugeRangeBase.ToPropertyGaugeRangeBase.FromGaugeRangeBase.To

Constructors

C#
public GaugeGradientRange()

Properties

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.

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; }