menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class Header

    Defines the header of the swimlane nodes in the diagram.

    Inheritance
    System.Object
    EJTagHelper
    TextBlock
    Label
    Header
    Inherited Members
    Label.Clone()
    Label.Name
    Label.Visible
    Label.BorderColor
    Label.BorderWidth
    Label.FillColor
    Label.CssClass
    Label.Hyperlink
    Label.DragLimit
    Label.Constraints
    TextBlock.ReadOnly
    TextBlock.Bold
    TextBlock.Italic
    TextBlock.TextDecoration
    TextBlock.FontSize
    TextBlock.FontFamily
    TextBlock.FontColor
    TextBlock.Offset
    TextBlock.SegmentOffset
    TextBlock.BoundaryConstraints
    TextBlock.Alignment
    TextBlock.RelativeMode
    TextBlock.TextAlign
    TextBlock.WrapText
    TextBlock.Wrapping
    TextBlock.Margin
    TextBlock.Padding
    TextBlock.HorizontalAlignment
    TextBlock.VerticalAlignment
    TextBlock.Mode
    TextBlock.Width
    TextBlock.Opacity
    TextBlock.TextOverflow
    TextBlock.OverflowType
    TextBlock.RotateAngle
    TextBlock.TemplateType
    TextBlock.TemplateId
    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 Header : Label

    Constructors

    Header()

    Declaration
    public Header()

    Properties

    Height

    Gets or sets the header of a swimlane/lane

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

    null

    Examples
               DiagramProperties Model = new DiagramProperties();
               SwimLane Node = new SwimLane();
               Node.Name = "swimlane";
               Node.Header.Text = "swimlane";
               Node.Header.FontSize = 12;
               Node.Header.Bold = true;
               Model.Nodes.Add(Node);

    Text

    Gets or sets the label text

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

    String.Empty

    Examples
               Node node = new Node() { Name = "node1", Height = 100, HorizontalAlign = HorizontalAlignment.Right };
               Collection labels = new Collection();
               labels.Add(new Label() { Text = "Node1", Name = "Node1", RotateAngle = 50 });
               node.Labels = labels;
               Model.Nodes.Add(node);
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved