Skip to content

A Swiss Army knife for developers.

758 B
Raw Blame
namespace DevToys.Api;

/// <summary>
/// Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.
/// </summary>
public enum UIHorizontalAlignment
{
    /// <summary>
    /// An element aligned to the left of the layout slot for the parent element.
    /// </summary>
    Left,

    /// <summary>
    /// An element aligned to the center of the layout slot for the parent element.
    /// </summary>
    Center,

    /// <summary>
    /// An element aligned to the right of the layout slot for the parent element.
    /// </summary>
    Right,

    /// <summary>
    /// An element stretched to fill the entire layout slot of the parent element.
    /// </summary>
    Stretch,
}