Xceed Grid for WinForms v4.3 Documentation
TextAlign Property (WinButton)


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButton Class : TextAlign Property
Gets or sets the alignment of the button's text.
Syntax
'Declaration
 
<DescriptionAttribute("The alignment of the button's text.")>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<LocalizableAttribute(True)>
Public Property TextAlign As ContentAlignment
'Usage
 
Dim instance As WinButton
Dim value As ContentAlignment
 
instance.TextAlign = value
 
value = instance.TextAlign
[Description("The alignment of the button's text.")]
[Category("Appearance")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Localizable(true)]
public ContentAlignment TextAlign {get; set;}

Property Value

A System.Drawing.ContentAlignment value indicating the alignment of the button's text.
Requirements

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

See Also

Reference

WinButton Class
WinButton Members