Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    HorizontalAlignment Enum

    Namespace: Stride.UI
    Assembly: Stride.UI.dll

    Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.

    public enum HorizontalAlignment

    Fields

    Name Description
    Center

    An element aligned to the center of the layout slot for the parent element.

    Left

    An element aligned to the left of the layout slot for the parent element.

    Right

    An element aligned to the right of the layout slot for the parent element.

    Stretch

    An element stretched to fill the entire layout slot of the parent element.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<HorizontalAlignment>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<HorizontalAlignment>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation