Spread Windows Forms 10.0 Product Documentation
AlignHorz Property (ElementControl)


Gets or sets the horizontal alignment of the contents of the control.
Syntax
'Declaration
 
Public Overridable Property AlignHorz As HorizontalAlignment
'Usage
 
Dim instance As ElementControl
Dim value As HorizontalAlignment
 
instance.AlignHorz = value
 
value = instance.AlignHorz
public virtual HorizontalAlignment AlignHorz {get; set;}

Property Value

HorizontalAlignment setting that determines the alignment
Remarks

Specify the vertical alignment of the contents by setting the AlignVert property. Specify the alignment of the text and picture in the control, if applicable, by setting the AlignText property.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ElementControl Class
ElementControl Members
AlignVert Property
AlignText Property
HorizontalAlignment Enumeration

 

 


Copyright © GrapeCity, inc. All rights reserved.