Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DepthAlignment.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Paradox.UI
4 {
5  /// <summary>
6  /// Describes how a child element is positioned in depth or stretched within a parent's layout slot.
7  /// </summary>
8  public enum DepthAlignment
9  {
10  /// <summary>
11  /// The child element is aligned to the front of the parent's layout slot.
12  /// </summary>
13  Front,
14  /// <summary>
15  /// The child element is aligned to the center of the parent's layout slot.
16  /// </summary>
17  Center,
18  /// <summary>
19  /// The child element is aligned to the back of the parent's layout slot.
20  /// </summary>
21  Back,
22  /// <summary>
23  /// The child element stretches to fill the parent's layout slot.
24  /// </summary>
25  Stretch,
26  }
27 }
The child element stretches to fill the parent's layout slot.
DepthAlignment
Describes how a child element is positioned in depth or stretched within a parent's layout slot...