Gets or sets the vertical alignment characteristics that are applied to a
System.Windows.FrameworkElement when it is composed in a parent object such as a panel or items control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property VerticalAlignment As System.Windows.VerticalAlignment |
| C# | |
|---|
public System.Windows.VerticalAlignment VerticalAlignment {get; set;} |
Property Value
A vertical alignment setting. The default is
System.Windows.VerticalAlignment.Stretch.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also