Class LinearGaugeTicks
Represents the scale ticks.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Gauges
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LinearGaugeTicks : GaugeVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
LinearGaugeTicks()
Declaration
public LinearGaugeTicks()
Properties
Path
Declaration
public override GraphicsPath Path { get; }
Property Value
System.Drawing.Drawing2D.GraphicsPath
|
Overrides
TickColor
Specifies the color for the ticks
Declaration
public Color TickColor { get; set; }
Property Value
System.Drawing.Color
|
TickEndIndexVisibleRange
Specifies at which index the visible ticks range will end.
Declaration
public float? TickEndIndexVisibleRange { get; set; }
Property Value
System.Nullable<System.Single>
|
TicksCount
Specifies how many ticks will be displayed.
Declaration
public int TicksCount { get; set; }
Property Value
System.Int32
|
TicksLenghtPercentage
Use TicksLengthPercentage instead.
Declaration
[Obsolete("Obsolete. Use the TicksLengthPercentage property instead. This property will be removed in R1 2026.")]
public float TicksLenghtPercentage { get; set; }
Property Value
System.Single
|
TicksLengthPercentage
Controls the ticks length.
Declaration
public float TicksLengthPercentage { get; set; }
Property Value
System.Single
|
TicksLocationPercentage
Controls how far according to the gauge's arc the ticks will be rendered.
Declaration
public float TicksLocationPercentage { get; set; }
Property Value
System.Single
|
TicksOffset
Specifies the ticks back length towards the center point.
Declaration
public int TicksOffset { get; set; }
Property Value
System.Int32
|
TickStartIndexVisibleRange
Specifies at which index the visible ticks range will start.
Declaration
public float? TickStartIndexVisibleRange { get; set; }
Property Value
System.Nullable<System.Single>
|
TickThickness
Specifies the width of ticks.
Declaration
public float TickThickness { get; set; }
Property Value
System.Single
|
Methods
HitTest(Point)
Declaration
public override bool HitTest(Point point)
Parameters
System.Drawing.Point
point
|
Returns
System.Boolean
|
Overrides
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
|
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
|