alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum DiagramFlipMode

    Specifies the flip behavior options for diagram objects.

    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    [Flags]
    public enum DiagramFlipMode
    Remarks

    The DiagramFlipMode enumeration controls which parts of a diagram object are affected when flip operations are performed. This enumeration is applicable only to nodes and node groups.

    This is a flags enumeration, allowing multiple flip modes to be combined using bitwise operations.

    • None - Disables all flip operations
    • LabelOnly - Flips the node along with annotation, excluding its text
    • Text - Flips only the annotation's text, excluding the annotation itself
    • Content - Flips the node along with annotation and its text
    • Port - Enables flip operations for ports
    • PortAndLabelOnly - Flips the node with port and annotation, excluding text
    • PortWithLabelText - Flips the node with port and annotation text, excluding annotation
    • All - Enables flip operations for all components (content, text, and port)
    Examples

    The following example demonstrates how to configure flip mode for a diagram node:

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

    Fields

    Name Description
    All

    Enables flip operations for diagram object components including content, text, and ports.

    Content

    Flips the node along with annotation and its text content.

    LabelOnly

    Flips the node along with the annotation, excluding its text.

    None

    Disables all the flip operations for the diagram object.

    Port

    Enables flip operations for diagram object ports.

    PortAndLabelOnly

    Flips the node along with port and the annotation excluding its text.

    PortWithLabelText

    Flips the node along with the port and the text of the annotation, excluding the annotation itself.

    Text

    Flips the node along with annotation’s text only, excluding the annotation itself.

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