Visual Basic (Declaration) | |
---|---|
Public Overridable Property AlignVert As VerticalAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementControl Dim value As VerticalAlignment instance.AlignVert = value value = instance.AlignVert |
C# | |
---|---|
public virtual VerticalAlignment AlignVert {get; set;} |
Property Value
VerticalAlignment setting that determines the alignmentSpecify the horizontal alignment of the contents by setting the AlignHorz property. Specify the alignment of the text and picture in the control, if applicable, by setting the AlignText property.
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