Class ScaleObject
Define attachable properties for objects are located over the scale.
Inheritance
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class ScaleObject : DependencyObject
Constructors
ScaleObject()
Declaration
public ScaleObject()
Fields
HotSpotProperty
Identifies the HotSpot dependency property.
Declaration
public static readonly DependencyProperty HotSpotProperty
Field Value
System.Windows.DependencyProperty
|
LocationProperty
Identifies the Location dependency property.
Declaration
public static readonly DependencyProperty LocationProperty
Field Value
System.Windows.DependencyProperty
|
OffsetProperty
Identifies the Offset dependency property.
Declaration
public static readonly DependencyProperty OffsetProperty
Field Value
System.Windows.DependencyProperty
|
OwnerProperty
Identifies the Owner dependency property.
Declaration
public static readonly DependencyProperty OwnerProperty
Field Value
System.Windows.DependencyProperty
|
RangeGroupProperty
Identifies the RangeGroup dependency property.
Declaration
public static readonly DependencyProperty RangeGroupProperty
Field Value
System.Windows.DependencyProperty
|
RangeProperty
Identifies the Range dependency property.
Declaration
public static readonly DependencyProperty RangeProperty
Field Value
System.Windows.DependencyProperty
|
RelativeHeightProperty
Identifies the RelativeHeight dependency property.
Declaration
public static readonly DependencyProperty RelativeHeightProperty
Field Value
System.Windows.DependencyProperty
|
RelativeWidthProperty
Identifies the RelativeWidth dependency property.
Declaration
public static readonly DependencyProperty RelativeWidthProperty
Field Value
System.Windows.DependencyProperty
|
RelativeXProperty
Identifies the RelativeX dependency property.
Declaration
public static readonly DependencyProperty RelativeXProperty
Field Value
System.Windows.DependencyProperty
|
RelativeYProperty
Identifies the RelativeY dependency property.
Declaration
public static readonly DependencyProperty RelativeYProperty
Field Value
System.Windows.DependencyProperty
|
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetHotSpot(DependencyObject)
Gets value of the attachable HotSpot property.
Declaration
public static HotSpot GetHotSpot(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
HotSpot
Value of the HotSpot property. |
GetLocation(DependencyObject)
Gets value of the attachable Location property.
Declaration
public static ScaleObjectLocation GetLocation(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
ScaleObjectLocation
Value of the Location property. |
GetOffset(DependencyObject)
Gets value of the attachable Offset property.
Declaration
public static GaugeMeasure GetOffset(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
GaugeMeasure
Value of the Offset property. |
GetOwner(DependencyObject)
Gets scale owner of the scale object.
Declaration
public static ScaleBase GetOwner(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
ScaleBase
Value of the Owner property. |
GetRange(DependencyObject)
Gets value of the attachable Range property.
Declaration
public static GaugeRange GetRange(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
GaugeRange
Value of the Range property. |
GetRangeGroup(DependencyObject)
Gets value of the attachable RangeGroup property.
Declaration
public static GaugeRangeGroup GetRangeGroup(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
GaugeRangeGroup
Value of the RangeGroup property. |
GetRelativeHeight(DependencyObject)
Gets value of the attachable RelativeHeight property.
Declaration
public static GaugeMeasure GetRelativeHeight(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
GaugeMeasure
Value of the RelativeHeight property. |
GetRelativeWidth(DependencyObject)
Gets value of the attachable RelativeWidth property.
Declaration
public static GaugeMeasure GetRelativeWidth(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
GaugeMeasure
Value of the RelativeWidth property. |
GetRelativeX(DependencyObject)
Gets value of the attachable RelativeX property.
Declaration
public static double GetRelativeX(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
System.Double
Value of the RelativeX property. |
GetRelativeY(DependencyObject)
Gets value of the attachable RelativeY property.
Declaration
public static double GetRelativeY(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
System.Double
Value of the RelativeY property. |
GetValue(DependencyObject)
Gets value of the attachable Value property.
Declaration
public static double GetValue(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
System.Double
Value of the Value property. |
GetValueFromObject(DependencyObject)
Gets value from the object depends on its type.
Declaration
public static double GetValueFromObject(DependencyObject valueObject)
Parameters
System.Windows.DependencyObject
valueObject
Object to get value from. |
Returns
System.Double
Value of the Value property. |
SetHotSpot(DependencyObject, HotSpot)
Sets value of the attachable HotSpot property.
Declaration
public static void SetHotSpot(DependencyObject element, HotSpot value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
HotSpot
value
Hotspot. |
SetLocation(DependencyObject, ScaleObjectLocation)
Sets value of the attachable Location property.
Declaration
public static void SetLocation(DependencyObject element, ScaleObjectLocation value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
ScaleObjectLocation
value
Location of the element. |
SetOffset(DependencyObject, GaugeMeasure)
Sets value of the attachable Offset property.
Declaration
public static void SetOffset(DependencyObject element, GaugeMeasure value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
GaugeMeasure
value
Offset of the element. |
SetOwner(DependencyObject, ScaleBase)
Sets scale owner of the scale object.
Declaration
public static void SetOwner(DependencyObject element, ScaleBase value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
ScaleBase
value
Owner of the element. |
SetRange(DependencyObject, GaugeRange)
Sets value of the attachable Range property.
Declaration
public static void SetRange(DependencyObject element, GaugeRange value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
GaugeRange
value
Range of the element. |
SetRangeGroup(DependencyObject, GaugeRangeGroup)
Sets value of the attachable RangeGroup property.
Declaration
public static void SetRangeGroup(DependencyObject element, GaugeRangeGroup value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
GaugeRangeGroup
value
RangeGroup of the element. |
SetRelativeHeight(DependencyObject, GaugeMeasure)
Sets value of the attachable RelativeHeight property.
Declaration
public static void SetRelativeHeight(DependencyObject element, GaugeMeasure value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
GaugeMeasure
value
Relative height. |
SetRelativeWidth(DependencyObject, GaugeMeasure)
Sets value of the attachable RelativeWidth property.
Declaration
public static void SetRelativeWidth(DependencyObject element, GaugeMeasure value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
GaugeMeasure
value
Relative width. |
SetRelativeX(DependencyObject, Double)
Sets value of the attachable RelativeX property.
Declaration
public static void SetRelativeX(DependencyObject element, double value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
System.Double
value
Relative X. |
SetRelativeY(DependencyObject, Double)
Sets value of the attachable RelativeY property.
Declaration
public static void SetRelativeY(DependencyObject element, double value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
System.Double
value
Relative Y. |
SetValue(DependencyObject, Double)
Sets value of the attachable Value property.
Declaration
public static void SetValue(DependencyObject element, double value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
System.Double
value
Value of the element. |