alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum Orientation

    Representing the placement of child elements in a vertical or horizontal stack

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum Orientation
    Examples
    <SfDiagramComponent  SetNodeTemplate="SetTemplate">
    </SfDiagramComponent>
    @code
    {
     private CommonElement SetTemplate(IDiagramObject node)
     {
       var table = new StackPanel();
       table.Orientation = Orientation.Horizontal;
       return table;
     }
    }

    Fields

    Name Description
    Horizontal

    Sets the orientation to Horizontal.

    Vertical

    Sets the orientation to Vertical.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved