Present additional information for the RadLinearGauge.
Definition
Namespace:Telerik.WinControls.UI.Gauges
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class LinearGaugeNeedleIndicator : GaugeVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IDrawing
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGaugeVisualElementLinearGaugeNeedleIndicator...
Implements:
Inherited Members
Constructors
public LinearGaugeNeedleIndicator()
public LinearGaugeNeedleIndicator(RadLinearGaugeElement owner)
Fields
public static RadProperty ValueProperty
Properties
Specifies the value offset of the needle according to the gauge's value.
public float BindOffset { get; set; }
Indicates whether the needle's value is bound to the gauge's Value.
public bool BindValue { get; set; }
Controls whether the specific ticks are circle or not.
public bool CircleTicks { get; set; }
public float LabelFontSize { get; set; }
Specifies the label format. By default, it is set to #,##0.#.
public string LabelFormat { get; set; }
Controls how long the needle will be rendered.
public float LengthPercentage { get; set; }
public float LineLength { get; set; }
public float LocationPercentage { get; set; }
public override GraphicsPath Path { get; }
Overrides:
Specifies the outer radius of the needle's start point.
public float PointRadiusPercentage { get; set; }
public SizeF TextOffsetFromIndicator { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Raises the standard .NET PropertyChanged event with the specified property name to notify subscribers of property value changes.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the property that changed.
Overrides:
Notifies for a change in the Parent value.
protected override void OnParentChanged(RadElement previousParent)
The previous parent element (if any)
Overrides:
protected void OnValueChanged()
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Events
public event EventHandler ValueChanged