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