Class Orientation
Representing the placement of child elements in a vertical or horizontal stack
Inheritance
System.Object
Orientation
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class Orientation : Enum
Examples
<SfDiagramComponent SetNodeTemplate="SetTemplate">
</SfDiagramComponent>
@code
{
private CommonElement SetTemplate(IDiagramObject node)
{
var table = new StackPanel();
table.Orientation = Orientation.Horizontal;
return table;
}
}
Fields
Horizontal
Sets the orientation to Horizontal.
Declaration
public const Orientation Horizontal
Field Value
Type | Description |
---|---|
Orientation |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Vertical
Sets the orientation to Vertical.
Declaration
public const Orientation Vertical
Field Value
Type | Description |
---|---|
Orientation |