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.
|
RelativeHeightProperty
Identifies the RelativeHeight dependency property.
Declaration
public static readonly DependencyProperty RelativeHeightProperty
Field Value
System.
|
RelativeWidthProperty
Identifies the RelativeWidth dependency property.
Declaration
public static readonly DependencyProperty RelativeWidthProperty
Field Value
System.
|
RelativeXProperty
Identifies the RelativeX dependency property.
Declaration
public static readonly DependencyProperty RelativeXProperty
Field Value
System.
|
RelativeYProperty
Identifies the RelativeY dependency property.
Declaration
public static readonly DependencyProperty RelativeYProperty
Field Value
System.
|
RotateForVerticalProperty
Identifies the RotateForVertical dependency property.
Declaration
public static readonly DependencyProperty RotateForVerticalProperty
Field Value
System.
|
Properties
Orientation
Gets or sets orientation of the scale.
Declaration
[SRCategory("Layout")]
public Orientation Orientation { get; set; }
Property Value
System.
|
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.
|
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.
|
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.
|
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.
|
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. Element to get position for. |
Scale Scale object location. |
Gauge Offset from the location. |
System. Value along the scale. |
Returns
System. 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. Element to get value of the property from. |
Returns
System. 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. Point on the scale to get value for. |
Returns
System. Double value corresponds to the given point. |
Overrides
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
SetRotateForVertical(DependencyObject, Boolean)
Sets value of the attachable RotateForVertical property.
Declaration
public static void SetRotateForVertical(DependencyObject element, bool value)
Parameters
System. Element to set value of the property to. |
System. RotateForVertical of the element. |
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected override void UpdateScaleBar()