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. |