ASP.NET Core - EJ2

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramNodeAnnotation

    Show / Hide Table of Contents

    Class DiagramNodeAnnotation

    Inheritance
    System.Object
    EJTagHelper
    DiagramNodeAnnotation
    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.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramNodeAnnotation : EJTagHelper

    Constructors

    DiagramNodeAnnotation()

    Declaration
    public DiagramNodeAnnotation()

    Properties

    AddInfo

    Allows the user to save custom information/data about an annotation

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

    AnnotationType

    Defines the type of annotation template String - Defines annotation template to be in string Template - Defines annotation template to be in html content

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

    Constraints

    Enables or disables the default behaviors of the label. ReadOnly - Enables/Disables the ReadOnly Constraints InheritReadOnly - Enables/Disables the InheritReadOnly Constraints

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

    Content

    Sets the textual description of the node/connector

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

    DragLimit

    Sets the space to be left between an annotation and its parent node/connector

    Declaration
    public DiagramMargin DragLimit { get; set; }
    Property Value
    Type Description
    DiagramMargin

    Height

    Sets the height of the text

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

    HorizontalAlignment

    Sets the horizontal alignment of the text with respect to the parent node/connector Stretch - Stretches the diagram element throughout its immediate parent Left - Aligns the diagram element at the left of its immediate parent Right - Aligns the diagram element at the right of its immediate parent Center - Aligns the diagram element at the center of its immediate parent Auto - Aligns the diagram element based on the characteristics of its immediate parent

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

    Hyperlink

    Sets the hyperlink of the label

    Declaration
    public DiagramHyperlink Hyperlink { get; set; }
    Property Value
    Type Description
    DiagramHyperlink

    Id

    Defines the unique id of the annotation

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.Id

    IsChild

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

    Margin

    Sets the space to be left between an annotation and its parent node/connector

    Declaration
    public DiagramMargin Margin { get; set; }
    Property Value
    Type Description
    DiagramMargin

    Offset

    Sets the position of the annotation with respect to its parent bounds

    Declaration
    public DiagramPoint Offset { get; set; }
    Property Value
    Type Description
    DiagramPoint

    RotateAngle

    Sets the rotate angle of the text

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

    Style

    Defines the appearance of the text

    Declaration
    public DiagramTextStyle Style { get; set; }
    Property Value
    Type Description
    DiagramTextStyle

    Template

    Sets the textual description of the node/connector

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

    Type

    Sets the type of the annotation Shape - Sets the annotation type as Shape Path - Sets the annotation type as Path

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

    VerticalAlignment

    Sets the vertical alignment of the text with respect to the parent node/connector Stretch - Stretches the diagram element throughout its immediate parent Top - Aligns the diagram element at the top of its immediate parent Bottom - Aligns the diagram element at the bottom of its immediate parent Center - Aligns the diagram element at the center of its immediate parent Auto - Aligns the diagram element based on the characteristics of its immediate parent

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

    Visibility

    Defines the visibility of the label

    Declaration
    public bool Visibility { get; set; }
    Property Value
    Type Description
    System.Boolean

    Width

    Sets the width of the text

    Declaration
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved