Class BranchTypes
Allows the user to set the alignment position
Inheritance
System.Object
BranchTypes
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class BranchTypes : Enum
Examples
<SfDiagram Height="600px" Nodes="@NodeCollection">
</SfDiagram>
@code{
public ObservableCollection<DiagramNode> NodeCollection = new ObservableCollection<DiagramNode>() { };
protected override void OnInitialized()
{
DiagramNode Node = new DiagramNode()
{
OffsetX = 250,
OffsetY = 250,
Width = 100,
Height = 100,
Branch = BranchTypes.Root
};
NodeCollection.Add(Node);
}
}
Fields
Left
Sets the branch type to left.
Declaration
public const BranchTypes Left
Field Value
Type | Description |
---|---|
BranchTypes |
Right
Sets the branch type to right
Declaration
public const BranchTypes Right
Field Value
Type | Description |
---|---|
BranchTypes |
Root
Sets the branch type to root.
Declaration
public const BranchTypes Root
Field Value
Type | Description |
---|---|
BranchTypes |
SubLeft
Sets the branch type to SubLeft.
Declaration
public const BranchTypes SubLeft
Field Value
Type | Description |
---|---|
BranchTypes |
SubRight
Sets the branch type to SubRight.
Declaration
public const BranchTypes SubRight
Field Value
Type | Description |
---|---|
BranchTypes |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |