Spread Windows Forms 8.0 Product Documentation
ContentAlignment Property (EditBase)


Gets or sets the content alignment of the control.
Syntax
'Declaration
 
Public Overridable Property ContentAlignment As ContentAlignment
'Usage
 
Dim instance As EditBase
Dim value As ContentAlignment
 
instance.ContentAlignment = value
 
value = instance.ContentAlignment
public virtual ContentAlignment ContentAlignment {get; set;}

Property Value

The value indicates the alignment of the content of this control.
The default is System.Drawing.ContentAlignment.TopLeft.
Remarks
There are nine alignment types for displaying the content. Each type can be set using this property.
Requirements

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

See Also

Reference

EditBase Class
EditBase Members
Padding Property

 

 


Copyright © GrapeCity, inc. All rights reserved.