menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Tick - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Tick

    Represents a class that draws the tick marks for a ruler segments of diagram control.

    Inheritance
    System.Object
    Tick
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram.Controls
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class Tick

    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
    System.Windows.Shapes.Line line

    A line type value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved