Class Tick
Represents a class that draws the tick marks for a ruler segments of diagram control.
Inheritance
System.Object
Tick
Namespace: Syncfusion.UI.Xaml.Diagram.Controls
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class Tick : Object
Constructors
Tick()
Declaration
public Tick()
Properties
Segment
Gets the segment to which the tick line is added.
Declaration
public RulerSegment Segment { get; }
Property Value
Type |
---|
RulerSegment |
Value
Gets the value of the tick lines.
Declaration
public double Value { get; }
Property Value
Type |
---|
System.Double |
Methods
ArrangeTick(out Double, out Double, out TickAlignment)
To update the length, initial value and alignment of the tick marks used in ruler segments.
Declaration
protected virtual void ArrangeTick(out double start, out double length, out TickAlignment align)
Parameters
Type | Name | Description |
---|---|---|
System.Double | start | The start value of the tick marks. |
System.Double | length | The length of the tick lines. |
TickAlignment | align | The alignment of the tick mark. |
UpdateLine(Line)
To update the appearance of the ticks.
Declaration
protected virtual void UpdateLine(Line line)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Shapes.Line | line | A line type value. |