Gets or sets the vertical alignment of the control's content.
Syntax
<control VerticalContentAlignment="verticalAlignmentValue"/>
XAML Values
- verticalAlignmentValue
-
A named constant of the VerticalAlignment enumeration, such as Stretch.
Property value
Type: VerticalAlignment
One of the VerticalAlignment values. The default is Center.
Remarks
Each control might apply this property differently based on its visual template. This property only affects a control whose template uses the VerticalContentAlignment property as a parameter. On other controls, this property has no effect. For more info about visual templates, see the Template property.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 3/12/2013