ClassRadialGaugeNeedle
Represent a scale indicator that points to a value.
Definition
Namespace:Telerik.WinControls.UI.Gauges
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadialGaugeNeedle : GaugeVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IDrawing
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGaugeVisualElementRadialGaugeNeedle
Implements:
Inherited Members
Constructors
RadialGaugeNeedle()
Declaration
public RadialGaugeNeedle()
RadialGaugeNeedle(RadRadialGaugeElement)
Declaration
public RadialGaugeNeedle(RadRadialGaugeElement owner)
Parameters
owner
Fields
Properties
BackLengthPercentage
Specifies the value with which the needle juts out from the center point.
Declaration
public double BackLengthPercentage { get; set; }
Property Value
BindOffset
Specifies the value offset of the needle according to the gauge's value.
BindValue
Indicates whether the needle's value is bound to the gauge's Value.
InnerPointRadiusPercentage
Specifies the inner radius of the needle's start point.
Declaration
public double InnerPointRadiusPercentage { get; set; }
Property Value
LengthPercentage
Controls how long the needle will be rendered.
Path
Declaration
public override GraphicsPath Path { get; }
Property Value
Overrides
PointRadiusPercentage
Specifies the outer radius of the needle's start point.
Declaration
public double PointRadiusPercentage { get; set; }
Property Value
Thickness
Controls the needle width.
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
OnNotifyPropertyChanged(string)
Raises the standard .NET PropertyChanged event with the specified property name to notify subscribers of property value changes.
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
propertyName
The name of the property that changed.
Overrides
OnParentChanged(RadElement)
Notifies for a change in the Parent value.
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
previousParent
The previous parent element (if any)
Overrides
OnValueChanged()
Declaration
protected void OnValueChanged()
PaintElement(IGraphics, float, SizeF)
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics context used for rendering.
angle
The rotation angle to apply during painting.
scale
The scaling factor to apply during painting.
Overrides