Class RadialScale
Represents radial scale.
Inherited Members
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class RadialScale : GraphicScale, IThemable
Constructors
RadialScale()
Initializes a new instance of the RadialScale class.
Declaration
public RadialScale()
Fields
CenterProperty
Identifies the Center dependency property.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
System.Windows.DependencyProperty
|
LabelRotationModeProperty
Identifies the LabelRotationMode dependency property.
Declaration
public static readonly DependencyProperty LabelRotationModeProperty
Field Value
System.Windows.DependencyProperty
|
RadiusProperty
Identifies the Radius dependency property.
Declaration
public static readonly DependencyProperty RadiusProperty
Field Value
System.Windows.DependencyProperty
|
RotationModeProperty
Identifies the RotationMode dependency property.
Declaration
public static readonly DependencyProperty RotationModeProperty
Field Value
System.Windows.DependencyProperty
|
StartAngleProperty
Identifies the StartAngle dependency property.
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
System.Windows.DependencyProperty
|
SweepAngleProperty
Identifies the SweepAngle dependency property.
Declaration
public static readonly DependencyProperty SweepAngleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Center
Gets or sets the center of the radial scale.
Declaration
[SRCategory("Layout")]
public Point Center { get; set; }
Property Value
System.Windows.Point
|
LabelRotationMode
Gets or sets label rotation mode.
Declaration
[SRCategory("Layout")]
public RotationMode LabelRotationMode { get; set; }
Property Value
RotationMode
|
Radius
Gets or sets outer radius of the radial scale. Should be from 0 to 1.
Declaration
[SRCategory("Layout")]
public double Radius { get; set; }
Property Value
System.Double
|
StartAngle
Gets or sets the start angle of the radial scale.
Declaration
[SRCategory("Layout")]
public double StartAngle { get; set; }
Property Value
System.Double
|
SweepAngle
Gets or sets the sweep angle of the radial scale.
Declaration
[SRCategory("Layout")]
public double SweepAngle { get; set; }
Property Value
System.Double
|
Methods
CalculateCellSize()
Calculate cell size of the scale.
Declaration
protected override Size CalculateCellSize()
Returns
System.Windows.Size
|
Overrides
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
GetRotationMode(DependencyObject)
Gets value of the attachable RotationMode property.
Declaration
public static RotationMode GetRotationMode(DependencyObject element)
Parameters
System.Windows.DependencyObject
element
Element to get value of the property from. |
Returns
RotationMode
Value of the RotationMode 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
SetRotationMode(DependencyObject, RotationMode)
Sets value of the attachable RotationMode property.
Declaration
public static void SetRotationMode(DependencyObject element, RotationMode value)
Parameters
System.Windows.DependencyObject
element
Element to set value of the property to. |
RotationMode
value
RotationMode of the element. |
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected override void UpdateScaleBar()