menu

Blazor

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

    Show / Hide Table of Contents

    Class DistributeOptions

    Distribute the options that enable you to place the selected objects on the page at equal intervals from each other.

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

    The selected objects are equally spaced within the selection boundary.

    Examples
    private void Distribute()
    {
        diagram.SetDistribute(DistributeOptions.Left);
    }

    Fields

    Bottom

    Distributes the objects based on the distance between the bottom sides of the adjacent objects.

    Declaration
    public const DistributeOptions Bottom
    Field Value
    Type
    DistributeOptions

    BottomToTop

    Distributes the objects based on the distance between the bottom and top sides of the adjacent objects.

    Declaration
    public const DistributeOptions BottomToTop
    Field Value
    Type
    DistributeOptions

    Center

    Distributes the objects based on the distance between the centers of the adjacent objects.

    Declaration
    public const DistributeOptions Center
    Field Value
    Type
    DistributeOptions

    Left

    Distributes the objects based on the distance between the left sides of the adjacent objects.

    Declaration
    public const DistributeOptions Left
    Field Value
    Type
    DistributeOptions

    Middle

    Distributes the objects based on the distance between the vertical centers of the adjacent objects.

    Declaration
    public const DistributeOptions Middle
    Field Value
    Type
    DistributeOptions

    Right

    Distributes the objects based on the distance between the right sides of the adjacent objects.

    Declaration
    public const DistributeOptions Right
    Field Value
    Type
    DistributeOptions

    RightToLeft

    Distributes the objects based on the distance between the right and left sides of the adjacent objects.

    Declaration
    public const DistributeOptions RightToLeft
    Field Value
    Type
    DistributeOptions

    Top

    Distributes the objects based on the distance between the top sides of the adjacent objects.

    Declaration
    public const DistributeOptions Top
    Field Value
    Type
    DistributeOptions
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved