Spread Windows Forms 10.0 Product Documentation
AlignHorz Property (ElementStyle)


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

Property Value

HorizontalAlignment setting that determines the alignment of text
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

ElementStyle Class
ElementStyle Members
AlignVert Property
AlignText Property

 

 


Copyright © GrapeCity, inc. All rights reserved.