Visual Basic (Declaration) | |
---|---|
Public Overridable Property ContentAlignment As ContentAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EditBase Dim value As ContentAlignment instance.ContentAlignment = value value = instance.ContentAlignment |
C# | |
---|---|
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.
There are nine alignment types for displaying the content. Each type can be set using this property.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8