Class DiagramFlipMode
The FlipMode is used to control the behaviour of the flip object.
Inheritance
System.Object
DiagramFlipMode
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class DiagramFlipMode : Enum
Remarks
It’s only applicable for node and nodegroup only.
The following options are used to define the flipmode |
1. Port- It is used to enable or disables the flip for object’s port |
2. Content- It is used to enable or disables the flip for object’s content |
3. All- It is used to enable or disables the flip for both object’s content and port. |
4. None- It is used to disables all the flipmode behaviour. |
Examples
Node Node = new Node()
{
ID = "node1",
Width = 100,
Height = 100,
OffsetX = 100,
OffsetY = 300,
Flip=FlipDirection.Horizontal,
FlipMode=FlipMode.All,
};
Fields
All
Enables or disables the flip for both Content and Port.
Declaration
public const DiagramFlipMode All
Field Value
Type |
---|
DiagramFlipMode |
Content
Enables or disables the flip for Content.
Declaration
public const DiagramFlipMode Content
Field Value
Type |
---|
DiagramFlipMode |
None
Disables all the flip operations.
Declaration
public const DiagramFlipMode None
Field Value
Type |
---|
DiagramFlipMode |
Port
Enables or disables the flip for Port.
Declaration
public const DiagramFlipMode Port
Field Value
Type |
---|
DiagramFlipMode |