menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FlipDirection - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FlipDirection

    Specifies how the diagram elements have to be flipped.

    Inheritance
    System.Object
    FlipDirection
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class FlipDirection : Enum
    Remarks

    The FlipDirection enumeration defines the direction in which diagram elements (nodes, connectors, and groups) can be flipped.

    This enables the standard set of diagram functionalities for transforming element orientations.

    • None - Disables all flip behavior and maintains the original orientation
    • Horizontal - Mirrors the element across the horizontal axis
    • Vertical - Mirrors the element across the vertical axis
    • Both - Mirrors the element across both horizontal and vertical axes
    Examples

    The following example demonstrates how to apply horizontal flip to a diagram node:

            Node Node = new Node()
            {
                ID = "node1",
                Width = 100,
                Height = 100,
                OffsetX = 100,
                OffsetY = 300,
                Flip=FlipDirection.Horizontal
            };

    Fields

    Both

    Flips the diagram element both horizontally and vertically.

    Declaration
    public const FlipDirection Both
    Field Value
    Type
    FlipDirection
    Remarks

    The element is mirrored across both axes simultaneously, combining horizontal and vertical flip transformations based on the DiagramFlipMode value.

    Horizontal

    Flips the diagram element horizontally across the horizontal axis.

    Declaration
    public const FlipDirection Horizontal
    Field Value
    Type
    FlipDirection
    Remarks

    The element is mirrored horizontally, creating a left-to-right reflection based on the DiagramFlipMode value.

    None

    No flip will be applied to the diagram element.

    Declaration
    public const FlipDirection None
    Field Value
    Type
    FlipDirection
    Remarks

    This is the default value that maintains the original orientation of the diagram element without any mirroring transformation.

    Vertical

    Flips the diagram element vertically across the vertical axis.

    Declaration
    public const FlipDirection Vertical
    Field Value
    Type
    FlipDirection
    Remarks

    The element is mirrored vertically, creating a top-to-bottom reflection based on the DiagramFlipMode value.

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