VerticalAlignment
VerticalAlignment
VerticalAlignment
VerticalAlignment
Enum
Definition
Describes how a child element is vertically positioned or stretched within a parent's layout slot.
public : enum class VerticalAlignment
enum class winrt::Windows::UI::Xaml::VerticalAlignment : int32_t
public enum VerticalAlignment
Public Enum VerticalAlignment
<object property="enumerationvalue"/>
- Attributes
Windows 10 requirements
Device family |
Windows 10 (introduced v10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
Bottom Bottom Bottom Bottom | 2 | The element is aligned to the bottom of the parent's layout slot. |
Center Center Center Center | 1 | The element is aligned to the center of the parent's layout slot. |
Stretch Stretch Stretch Stretch | 3 | The element is stretched to fill the entire layout slot of the parent element. |
Top Top Top Top | 0 | The element is aligned to the top of the parent's layout slot. |
Feedback
Loading feedback...