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


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinButton Class : BackgroundImageAlignment Property
Gets or sets the alignment of the button's background image.
Syntax
'Declaration
 
<DescriptionAttribute("The alignment of the button's background image.")>

<CategoryAttribute("Appearance")>

<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>

Public Property BackgroundImageAlignment As ContentAlignment
'Usage
 
Dim instance As WinButton

Dim value As ContentAlignment

 

instance.BackgroundImageAlignment = value

 

value = instance.BackgroundImageAlignment
[Description("The alignment of the button's background image.")]

[Category("Appearance")]

[DefaultValue(Mono.Cecil.CustomAttributeArgument)]

public ContentAlignment BackgroundImageAlignment {get; set;}

Property Value

A System.Drawing.ContentAlignment value indicating the alignment of the button's background image.
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