Class
GaugeBarIndicator

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

Definition

Constructors

GaugeBarIndicator()

Declaration

cs-api-definition
public GaugeBarIndicator()

Fields

EndCapProperty

Identifies the EndCap property.

Declaration

cs-api-definition
public static readonly BindableProperty EndCapProperty

Field Value

BindableProperty

EndThicknessProperty

Identifies the EndThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty EndThicknessProperty

Field Value

BindableProperty

StartCapProperty

Identifies the StartCap property.

Declaration

cs-api-definition
public static readonly BindableProperty StartCapProperty

Field Value

BindableProperty

StartThicknessProperty

Identifies the StartThickness property.

Declaration

cs-api-definition
public static readonly BindableProperty StartThicknessProperty

Field Value

BindableProperty

Properties

EndCap

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

Declaration

cs-api-definition
public GaugeBarIndicatorCap EndCap { get; set; }

Property Value

GaugeBarIndicatorCap

EndThickness

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

Declaration

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

Property Value

double

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

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

StartCap

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

Declaration

cs-api-definition
public GaugeBarIndicatorCap StartCap { get; set; }

Property Value

GaugeBarIndicatorCap

StartThickness

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

Declaration

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

Property Value

double

Methods

OnPropertyChanged(string)

Called when a property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

The name of the property that changed.