menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AlignmentOptions - API Reference

    Show / Hide Table of Contents

    Class AlignmentOptions

    Defines how the selected objects should be positioned.

    Inheritance
    System.Object
    AlignmentOptions
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class AlignmentOptions : Enum
    Examples
    private void OnAlignLeft()
    {
        diagram.SetAlign(AlignmentOptions.Left,null, AlignmentMode.Object);
    }

    Fields

    Bottom

    Aligns all the selected objects at the bottom of the selection boundary.

    Declaration
    public const AlignmentOptions Bottom
    Field Value
    Type Description
    AlignmentOptions

    Center

    Aligns all the selected objects at the center of the selection boundary.

    Declaration
    public const AlignmentOptions Center
    Field Value
    Type Description
    AlignmentOptions

    Left

    Aligns all the selected objects to the left of the selection boundary.

    Declaration
    public const AlignmentOptions Left
    Field Value
    Type Description
    AlignmentOptions

    Middle

    Aligns all the selected objects at the middle of the selection boundary.

    Declaration
    public const AlignmentOptions Middle
    Field Value
    Type Description
    AlignmentOptions

    Right

    Aligns all the selected objects to the right of the selection boundary.

    Declaration
    public const AlignmentOptions Right
    Field Value
    Type Description
    AlignmentOptions

    Top

    Aligns all the selected objects at the top of the selection boundary.

    Declaration
    public const AlignmentOptions Top
    Field Value
    Type Description
    AlignmentOptions

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved