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


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

Property Value

An Xceed.UI.ImageStyle value indicating the style used to display the button's background image
Remarks
Stretch The image is stretched to fit the available area.
Tile The image is repeated until the entire available area is filled.
Align The image is aligned according to the value of the BackgroundImageAlignment property
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