ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class DiagramSnapSettings

    Inheritance
    System.Object
    EJTagHelper
    DiagramSnapSettings
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsCollection
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramSnapSettings : EJTagHelper

    Constructors

    DiagramSnapSettings()

    Declaration
    public DiagramSnapSettings()

    Properties

    Constraints

    Constraints for gridlines and snapping None - Snapping does not happen ShowHorizontalLines - Displays only the horizontal gridlines in diagram. ShowVerticalLines - Displays only the Vertical gridlines in diagram. ShowLines - Display both Horizontal and Vertical gridlines. SnapToHorizontalLines - Enables the object to snap only with horizontal gridlines. SnapToVerticalLines - Enables the object to snap only with horizontal gridlines. SnapToLines - Enables the object to snap with both horizontal and Vertical gridlines. snapToObject - Enables the object to snap with the other objects in the diagram.

    Declaration
    public SnapConstraints Constraints { get; set; }
    Property Value
    Type Description
    SnapConstraints

    ContentTemplate

    To get or set value for ContentTemplate.

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

    GridType

    Defines the diagram Grid pattern. Lines - Render the line for the grid Dots - Render the dot for the grid

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

    HorizontalGridlines

    Defines the horizontal gridlines

    Declaration
    public DiagramGridlines HorizontalGridlines { get; set; }
    Property Value
    Type Description
    DiagramGridlines

    IsComplex

    Declaration
    protected override bool IsComplex { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsComplex

    ParentPropertyName

    Declaration
    protected override string ParentPropertyName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ParentPropertyName

    SnapAngle

    Defines the angle by which the object needs to be snapped

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

    SnapLineColor

    Defines the color of snapping lines

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

    SnapObjectDistance

    Sets the minimum distance between the selected object and the nearest object

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

    VerticalGridlines

    Defines the vertical gridlines

    Declaration
    public DiagramGridlines VerticalGridlines { get; set; }
    Property Value
    Type Description
    DiagramGridlines
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved