menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class DiagramIcon

    Defines or customize the expand/collapse icons appearances for the node.

    Inheritance
    System.Object
    EJTagHelper
    DiagramIcon
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    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.DataVisualization.Models.Diagram
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class DiagramIcon : EJTagHelper

    Constructors

    DiagramIcon()

    Declaration
    public DiagramIcon()

    Properties

    BorderColor

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

    BorderWidth

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

    FillColor

    Gets or sets the fill color of the icon

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

    ""

    Examples
      Icon Icon = new Icon() { FillColor = "white" };

    Height

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

    HorizontalAlignment

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

    Margin

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

    Offset

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

    PathData

    Gets or sets the path data of the icon

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

    ""

    Examples
     Icon Icon = new Icon() { PathData = "" };

    Shape

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

    Source

    Gets or sets the source of the icon

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

    ""

    Examples
     Icon Icon = new Icon() { Source = "imageUrl" };

    TemplateId

    Gets or sets the template id of the icon

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

    ""

    Examples
     Icon Icon = new Icon() { TemplateId = "iconTemplate" };

    VerticalAlignment

    Gets or sets the vertical alignment of the icon

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

    VerticalAlignment.Center

    Examples
    Icon Icon = new Icon() { VerticalAlignment = VerticalAlignment.Bottom };

    Width

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