New to Telerik UI for WPFStart a free 30-day trial

Represents value range along the scale. It is data object which suppose to be data context for the visual range representation.

Definition

Constructors

Initializes a new instance of the GaugeRange class.

C#
public GaugeRange()

Fields

BackgroundProperty

DependencyProperty

Identifies the Background dependency property.

C#
public static readonly DependencyProperty BackgroundProperty

EndWidthProperty

DependencyProperty

Identifies the EndWidth dependency property.

C#
public static readonly DependencyProperty EndWidthProperty

GeometryProperty

DependencyProperty

Identifies the Geometry dependency property.

C#
public static readonly DependencyProperty GeometryProperty

IndicatorBackgroundProperty

DependencyProperty

Identifies the IndicatorBackground dependency property.

C#
public static readonly DependencyProperty IndicatorBackgroundProperty

Identifies the IndicatorColorMixSensitivity dependency property.

C#
public static readonly DependencyProperty IndicatorColorMixSensitivityProperty

LabelForegroundProperty

DependencyProperty

Identifies the LabelForeground dependency property.

C#
public static readonly DependencyProperty LabelForegroundProperty

MaxProperty

DependencyProperty

Identifies the Max dependency property.

C#
public static readonly DependencyProperty MaxProperty

MinProperty

DependencyProperty

Identifies the Min dependency property.

C#
public static readonly DependencyProperty MinProperty

StartWidthProperty

DependencyProperty

Identifies the StartWidth dependency property.

C#
public static readonly DependencyProperty StartWidthProperty

StrokeProperty

DependencyProperty

Identifies the Stroke dependency property.

C#
public static readonly DependencyProperty StrokeProperty

StrokeThicknessProperty

DependencyProperty

Identifies the StrokeThickness dependency property.

C#
public static readonly DependencyProperty StrokeThicknessProperty

TickBackgroundProperty

DependencyProperty

Identifies the TickBackground dependency property.

C#
public static readonly DependencyProperty TickBackgroundProperty

TimeoutProperty

DependencyProperty

Identifies the Timeout dependency property.

C#
public static readonly DependencyProperty TimeoutProperty

TitleProperty

DependencyProperty

Identifies the Title dependency property.

C#
public static readonly DependencyProperty TitleProperty

TooltipFormatProperty

DependencyProperty

Identifies the TooltipFormat dependency property.

C#
public static readonly DependencyProperty TooltipFormatProperty

ToolTipStyleProperty

DependencyProperty

Identifies the ToolTipStyle dependency property.

C#
public static readonly DependencyProperty ToolTipStyleProperty

ToolTipTemplateProperty

DependencyProperty

Identifies the ToolTipTemplate dependency property.

C#
public static readonly DependencyProperty ToolTipTemplateProperty

VisibilityProperty

DependencyProperty

Identifies the Visibility dependency property.

C#
public static readonly DependencyProperty VisibilityProperty

Properties

Gets or sets the background of the range's visual presentation.

C#
public Brush Background { get; set; }

Data

DependencyObject

Return reference to self. This property can be used within Binding in XAML to implement binding which reflect extended property changes.

C#
public DependencyObject Data { get; }

Gets or sets the end width of the range bar.

C#
public double EndWidth { get; set; }

Geometry

Geometry

This property serve internal RadGauge operations. It shouldn't be used in the customer code.

C#
public Geometry Geometry { get; set; }
Remarks:

Gets or sets range geometry.

Gets or sets background of the indicator when it is in range.

C#
public Brush IndicatorBackground { get; set; }

Gets or sets value which indicates the activity of color from previous range that is used to build indicator background.

C#
public double IndicatorColorMixSensitivity { get; set; }

Gets or sets the foreground of labels are in range.

C#
public Brush LabelForeground { get; set; }

Gets or sets the maximum value of the range.

C#
public double Max { get; set; }

Gets or sets the minimum value of the range.

C#
public double Min { get; set; }

Gets or sets the start width of the range bar.

C#
public double StartWidth { get; set; }

Stroke

Brush

Gets or sets the Brush that specifies how the range outline is painted.

C#
public Brush Stroke { get; set; }

Gets or sets stroke thickness.

C#
public double StrokeThickness { get; set; }

Gets value from object using format string.

C#
public object this[string formatString] { get; }
Parameters:formatStringstring

Format string.

Property Value:

Formatted value.

Remarks:

The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.

Gets or sets background of ticks are in range.

C#
public Brush TickBackground { get; set; }

Gets or sets timeout during which value should be in range to fire "In Range Timeout" event.

C#
public TimeSpan Timeout { get; set; }

Gets or sets title of the range which can be used in the tooltip. Can be accessed as {Binding Path=Data[Range.Title]}.

C#
public string Title { get; set; }

Gets or sets the format of the range tooltip.

C#
public string TooltipFormat { get; set; }
Remarks:

The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.

Gets or sets the style applied to the toolTip of the range.

C#
public Style ToolTipStyle { get; set; }

ToolTipTemplate

DataTemplate

Gets or sets template of the range's tooltip.

C#
public DataTemplate ToolTipTemplate { get; set; }

Visibility

Visibility

Gets or sets visibility of the gauge range.

C#
public Visibility Visibility { get; set; }

Methods

Check whether given object is in range.

C#
public bool InRange(DependencyObject valueObject)
Parameters:valueObjectDependencyObject

Dependency object which have attachable ScaleObject.Value property set or indicator.

Returns:

bool

true if indicator's or object's value is in range.

Raise property changed event for "Data" property.

C#
public void RaiseDataPropertyChanged()

Check whether given double value is in range.

C#
public bool ValueInRange(double value)
Parameters:valuedouble

Value to test.

Returns:

bool

The value is in range.

Events

Occurs when property changed. Implemented for binding.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged