Class LinearGaugeSingleLabel
Present additional information for the RadLinearGauge, e.g. current value
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Gauges
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LinearGaugeSingleLabel : GaugeVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IDrawing
Constructors
LinearGaugeSingleLabel()
Declaration
public LinearGaugeSingleLabel()
Properties
BindValue
Indicates whether the single label's text is bound to the gauge's Value.
Declaration
public bool BindValue { get; set; }
Property Value
System.Boolean
|
LabelFontSize
Specifies the label size.
Declaration
public float LabelFontSize { get; set; }
Property Value
System.Single
|
LabelFormat
Specifies the label format. By default, it is set to #,##0.#.
Declaration
public string LabelFormat { get; set; }
Property Value
System.String
|
LabelText
Declaration
public string LabelText { get; set; }
Property Value
System.String
|
LocationPercentage
Controls the label's location (x, y) according to the center point. LocationPercentage accepts values withing the range [(-1,-1), (1,1)].
Declaration
public SizeF LocationPercentage { get; set; }
Property Value
System.Drawing.SizeF
|
Path
Declaration
public override GraphicsPath Path { get; }
Property Value
System.Drawing.Drawing2D.GraphicsPath
|
Overrides
Methods
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Overrides
OnParentChanged(RadElement)
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
RadElement
previousParent
|
Overrides
Paint(Graphics, Rectangle)
Declaration
public void Paint(Graphics graphics, Rectangle boundingRectangle)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Rectangle
boundingRectangle
|
Implements
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|