ClassLinearScale
Represents the linear scale.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class LinearScale : GraphicScale
Inheritance: objectScaleBaseGraphicScaleLinearScale
Derived Classes:
Inherited Members
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
DependencyProperty
RelativeHeightProperty
Identifies the RelativeHeight dependency property.
Declaration
public static readonly DependencyProperty RelativeHeightProperty
Field Value
DependencyProperty
RelativeWidthProperty
Identifies the RelativeWidth dependency property.
Declaration
public static readonly DependencyProperty RelativeWidthProperty
Field Value
DependencyProperty
RelativeXProperty
Identifies the RelativeX dependency property.
Declaration
public static readonly DependencyProperty RelativeXProperty
Field Value
DependencyProperty
RelativeYProperty
Identifies the RelativeY dependency property.
Declaration
public static readonly DependencyProperty RelativeYProperty
Field Value
DependencyProperty
RotateForVerticalProperty
Identifies the RotateForVertical dependency property.
Declaration
public static readonly DependencyProperty RotateForVerticalProperty
Field Value
DependencyProperty
Properties
Orientation
Gets or sets orientation of the scale.
Declaration
[SRCategory("Layout")]
public Orientation Orientation { get; set; }
Property Value
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
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
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
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
element
FrameworkElement
Element to get position for.
location
Scale object location.
offset
Offset from the location.
value
Value along the scale.
Returns
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
element
DependencyObject
Element to get value of the property from.
Returns
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
point
Point
Point on the scale to get value for.
Returns
Double value corresponds to the given point.
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
SetRotateForVertical(DependencyObject, bool)
Sets value of the attachable RotateForVertical property.
Declaration
public static void SetRotateForVertical(DependencyObject element, bool value)
Parameters
element
DependencyObject
Element to set value of the property to.
value
RotateForVertical of the element.
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected override void UpdateScaleBar()
Overrides