ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class DiagramAnnotation

    Inheritance
    System.Object
    EJTagHelper
    DiagramAnnotation
    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.IsChild
    EJTagHelper.IsCollection
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramAnnotation : EJTagHelper

    Constructors

    DiagramAnnotation()

    Declaration
    public DiagramAnnotation()

    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

    ContentTemplate

    To get or set value for ContentTemplate.

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

    DragLimit

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

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

    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

    IsComplex

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

    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

    ParentPropertyName

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

    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 - 2022 Syncfusion Inc. All Rights Reserved