menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramDiagramRuler - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramDiagramRuler

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramDiagramRuler
    RulerSettingsVerticalRulerRulerSettings
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramDiagramRuler : EJTagHelper

    Constructors

    DiagramDiagramRuler()

    Declaration
    public DiagramDiagramRuler()

    Properties

    ArrangeTick

    Defines the method which is used to position and arrange the tick elements of the ruler.

    Declaration
    public object ArrangeTick { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Interval

    Defines the number of intervals to be present on each segment of the ruler.

    Declaration
    public double Interval { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 5

    MarkerColor

    Defines the color of the ruler marker brush.

    Declaration
    public string MarkerColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "red"

    Orientation

    Defines the orientation of the ruler

    Declaration
    public RulerOrientation Orientation { get; set; }
    Property Value
    Type Description
    RulerOrientation

    The default value is RulerOrientation.Horizontal

    SegmentWidth

    Defines the textual description of the ruler segment, and the appearance of the ruler ticks of the ruler.

    Declaration
    public double SegmentWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 100

    Thickness

    Defines the height of the ruler.

    Declaration
    public double Thickness { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 25

    TickAlignment

    Defines and sets the tick alignment of the ruler scale.

    Declaration
    public TickAlignment TickAlignment { get; set; }
    Property Value
    Type Description
    TickAlignment

    The default value is TickAlignment.RightOrBottom

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