menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class DiagramLabel

    Label is a block of text that can be displayed over a node or connector. Label is used to textually represent an object with a string that can be edited at run time.

    Inheritance
    System.Object
    DiagramLabel
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class DiagramLabel

    Constructors

    DiagramLabel()

    Declaration
    public DiagramLabel()

    Properties

    Alignment

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("alignment")]
    public LabelAlignment Alignment { get; set; }
    Property Value
    Type Description
    LabelAlignment

    Bold

    Declaration
    [JsonProperty("bold")]
    public bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    BoundaryConstraints

    Declaration
    [JsonProperty("BoundaryConstraints")]
    public bool BoundaryConstraints { get; set; }
    Property Value
    Type Description
    System.Boolean

    Constraints

    Declaration
    [JsonProperty("constraints")]
    [JsonConverter(typeof(StringEnumConverter))]
    public LabelConstraints Constraints { get; set; }
    Property Value
    Type Description
    LabelConstraints

    DragLimit

    Declaration
    [JsonProperty("dragLimit")]
    public LabelMargin DragLimit { get; set; }
    Property Value
    Type Description
    LabelMargin

    FillColor

    Declaration
    [JsonProperty("fillColor")]
    public string FillColor { get; set; }
    Property Value
    Type Description
    System.String

    FontColor

    Declaration
    [JsonProperty("fontColor")]
    public string FontColor { get; set; }
    Property Value
    Type Description
    System.String

    FontFamily

    Declaration
    [JsonProperty("fontFamily")]
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Declaration
    [JsonProperty("fontSize")]
    public int FontSize { get; set; }
    Property Value
    Type Description
    System.Int32

    Height

    Declaration
    [JsonProperty("height")]
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    HorizontalAlignment

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("horizontalAlignment")]
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment

    Hyperlink

    Declaration
    [JsonProperty("hyperlink")]
    public string Hyperlink { get; set; }
    Property Value
    Type Description
    System.String

    ID

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

    Italic

    Declaration
    [JsonProperty("italic")]
    public bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    Labels

    Declaration
    public Collection Labels { get; }
    Property Value
    Type Description
    Collection

    Margin

    Declaration
    [JsonProperty("margin")]
    public LabelMargin Margin { get; set; }
    Property Value
    Type Description
    LabelMargin

    Mode

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("mode")]
    public LabelEditMode Mode { get; set; }
    Property Value
    Type Description
    LabelEditMode

    Name

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Offset

    Declaration
    [JsonProperty("offset")]
    public DiagramPoint Offset { get; set; }
    Property Value
    Type Description
    DiagramPoint

    Opacity

    Declaration
    [JsonProperty("opacity")]
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    ReadOnly

    Declaration
    [JsonProperty("readOnly")]
    public bool ReadOnly { get; set; }
    Property Value
    Type Description
    System.Boolean

    RelativeMode

    Declaration
    [JsonProperty("relativeMode")]
    [JsonConverter(typeof(StringEnumConverter))]
    public LabelRelativeMode RelativeMode { get; set; }
    Property Value
    Type Description
    LabelRelativeMode

    RotateAngle

    Declaration
    [JsonProperty("rotateAngle")]
    public double RotateAngle { get; set; }
    Property Value
    Type Description
    System.Double

    SegmentOffset

    Declaration
    [JsonProperty("segmentOffset")]
    public double SegmentOffset { get; set; }
    Property Value
    Type Description
    System.Double

    TemplateId

    Declaration
    [JsonProperty("templateId")]
    public string TemplateId { get; set; }
    Property Value
    Type Description
    System.String

    TemplateType

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("templateType")]
    public TemplateType TemplateType { get; set; }
    Property Value
    Type Description
    TemplateType

    Text

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    TextAlign

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("align")]
    public TextAlign TextAlign { get; set; }
    Property Value
    Type Description
    TextAlign

    TextDecoration

    Declaration
    [JsonProperty("textDecoration")]
    [JsonConverter(typeof(StringEnumConverter))]
    public TextDecorations TextDecoration { get; set; }
    Property Value
    Type Description
    TextDecorations

    VerticalAlignment

    Declaration
    [JsonProperty("verticalAlignment")]
    [JsonConverter(typeof(StringEnumConverter))]
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    VerticalAlignment

    Visible

    Declaration
    [JsonProperty("visible")]
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    Width

    Declaration
    [JsonProperty("width")]
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    WrapText

    Declaration
    [JsonProperty("wrapText")]
    public bool WrapText { get; set; }
    Property Value
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved