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