Class LinearScale
Represents the linear scale.
Inherited Members
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class LinearScale : GraphicScale, IThemable
Constructors
LinearScale()
Initializes a new instance of the LinearScale class.
Declaration
public LinearScale()
Fields
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
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
|
RotateForVerticalProperty
Identifies the RotateForVertical dependency property.
Declaration
public static readonly DependencyProperty RotateForVerticalProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Orientation
Gets or sets orientation of the scale.
Declaration
[SRCategory("Layout")]
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
RelativeHeight
Gets or sets the height of the linear scale relative to the correspondent measurement.
Declaration
[SRCategory("Layout")]
public double RelativeHeight { get; set; }
Property Value
System.Double
|
RelativeWidth
Gets or sets the width of the linear scale relative to the correspondent measurement.
Declaration
[SRCategory("Layout")]
public double RelativeWidth { get; set; }
Property Value
System.Double
|
RelativeX
Gets or sets X position of the linear scale relative to the correspondent measurement.
Declaration
[SRCategory("Layout")]
public double RelativeX { get; set; }
Property Value
System.Double
|
RelativeY
Gets or sets Y position of the linear scale relative to the correspondent measurement.
Declaration
[SRCategory("Layout")]
public double RelativeY { get; set; }
Property Value
System.Double
|
Methods
GetObjectPosition(FrameworkElement, ScaleObjectLocation, GaugeMeasure, Double)
Gets position of the object over the scale.
Declaration
protected override Point GetObjectPosition(FrameworkElement element, ScaleObjectLocation location, GaugeMeasure offset, double value)
Parameters
System.Windows.FrameworkElement
element
Element to get position for. |
ScaleObjectLocation
location
Scale object location. |
GaugeMeasure
offset
Offset from the location. |
System.Double
value
Value along the scale. |
Returns
System.Windows.Point
Position of the object over the scale. |
Overrides
GetRotateForVertical(DependencyObject)
Gets value of the attachable RotateForVertical property.
Declaration
public static bool GetRotateForVertical(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
System.Boolean
Value of the RotateForVertical property. |
GetValueByPoint(Point)
Gets the value which corresponds to the point on scale.
Declaration
public override double GetValueByPoint(Point point)
Parameters
System.Windows.Point
point
Point on the scale to get value for. |
Returns
System.Double
Double value corresponds to the given point. |
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
SetRotateForVertical(DependencyObject, Boolean)
Sets value of the attachable RotateForVertical property.
Declaration
public static void SetRotateForVertical(DependencyObject element, bool value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
System.Boolean
value
RotateForVertical of the element. |
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected override void UpdateScaleBar()