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

Define attachable properties for objects are located over the scale.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class ScaleObject : DependencyObject

Inheritance: objectScaleObject

Constructors

C#
public ScaleObject()

Fields

HotSpotProperty

DependencyProperty

Identifies the HotSpot dependency property.

C#
public static readonly DependencyProperty HotSpotProperty

LocationProperty

DependencyProperty

Identifies the Location dependency property.

C#
public static readonly DependencyProperty LocationProperty

OffsetProperty

DependencyProperty

Identifies the Offset dependency property.

C#
public static readonly DependencyProperty OffsetProperty

OwnerProperty

DependencyProperty

Identifies the Owner dependency property.

C#
public static readonly DependencyProperty OwnerProperty

RangeGroupProperty

DependencyProperty

Identifies the RangeGroup dependency property.

C#
public static readonly DependencyProperty RangeGroupProperty

RangeProperty

DependencyProperty

Identifies the Range dependency property.

C#
public static readonly DependencyProperty RangeProperty

RelativeHeightProperty

DependencyProperty

Identifies the RelativeHeight dependency property.

C#
public static readonly DependencyProperty RelativeHeightProperty

RelativeWidthProperty

DependencyProperty

Identifies the RelativeWidth dependency property.

C#
public static readonly DependencyProperty RelativeWidthProperty

RelativeXProperty

DependencyProperty

Identifies the RelativeX dependency property.

C#
public static readonly DependencyProperty RelativeXProperty

RelativeYProperty

DependencyProperty

Identifies the RelativeY dependency property.

C#
public static readonly DependencyProperty RelativeYProperty

ValueProperty

DependencyProperty

Identifies the Value dependency property.

C#
public static readonly DependencyProperty ValueProperty

Methods

Gets value of the attachable HotSpot property.

C#
public static HotSpot GetHotSpot(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

HotSpot

Value of the HotSpot property.

Gets value of the attachable Location property.

C#
public static ScaleObjectLocation GetLocation(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

ScaleObjectLocation

Value of the Location property.

Gets value of the attachable Offset property.

C#
public static GaugeMeasure GetOffset(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

GaugeMeasure

Value of the Offset property.

Gets scale owner of the scale object.

C#
public static ScaleBase GetOwner(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

ScaleBase

Value of the Owner property.

Gets value of the attachable Range property.

C#
public static GaugeRange GetRange(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

GaugeRange

Value of the Range property.

Gets value of the attachable RangeGroup property.

C#
public static GaugeRangeGroup GetRangeGroup(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

GaugeRangeGroup

Value of the RangeGroup property.

Gets value of the attachable RelativeHeight property.

C#
public static GaugeMeasure GetRelativeHeight(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

GaugeMeasure

Value of the RelativeHeight property.

Gets value of the attachable RelativeWidth property.

C#
public static GaugeMeasure GetRelativeWidth(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

GaugeMeasure

Value of the RelativeWidth property.

Gets value of the attachable RelativeX property.

C#
public static double GetRelativeX(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

double

Value of the RelativeX property.

Gets value of the attachable RelativeY property.

C#
public static double GetRelativeY(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

double

Value of the RelativeY property.

Gets value of the attachable Value property.

C#
public static double GetValue(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

double

Value of the Value property.

Gets value from the object depends on its type.

C#
public static double GetValueFromObject(DependencyObject valueObject)
Parameters:valueObjectDependencyObject

Object to get value from.

Returns:

double

Value of the Value property.

Sets value of the attachable HotSpot property.

C#
public static void SetHotSpot(DependencyObject element, HotSpot value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueHotSpot

Hotspot.

Sets value of the attachable Location property.

C#
public static void SetLocation(DependencyObject element, ScaleObjectLocation value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueScaleObjectLocation

Location of the element.

Sets value of the attachable Offset property.

C#
public static void SetOffset(DependencyObject element, GaugeMeasure value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueGaugeMeasure

Offset of the element.

Sets scale owner of the scale object.

C#
public static void SetOwner(DependencyObject element, ScaleBase value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueScaleBase

Owner of the element.

Sets value of the attachable Range property.

C#
public static void SetRange(DependencyObject element, GaugeRange value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueGaugeRange

Range of the element.

Sets value of the attachable RangeGroup property.

C#
public static void SetRangeGroup(DependencyObject element, GaugeRangeGroup value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueGaugeRangeGroup

RangeGroup of the element.

Sets value of the attachable RelativeHeight property.

C#
public static void SetRelativeHeight(DependencyObject element, GaugeMeasure value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueGaugeMeasure

Relative height.

Sets value of the attachable RelativeWidth property.

C#
public static void SetRelativeWidth(DependencyObject element, GaugeMeasure value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueGaugeMeasure

Relative width.

Sets value of the attachable RelativeX property.

C#
public static void SetRelativeX(DependencyObject element, double value)
Parameters:elementDependencyObject

Element to set value of the property to.

valuedouble

Relative X.

Sets value of the attachable RelativeY property.

C#
public static void SetRelativeY(DependencyObject element, double value)
Parameters:elementDependencyObject

Element to set value of the property to.

valuedouble

Relative Y.

Sets value of the attachable Value property.

C#
public static void SetValue(DependencyObject element, double value)
Parameters:elementDependencyObject

Element to set value of the property to.

valuedouble

Value of the element.