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


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : BackgroundImageStyle Property
Gets or sets the style of the grid element's background image.
Syntax
'Declaration
 
<DescriptionAttribute("The style of the grid element's background image.")>

<CategoryAttribute("Appearance")>

<AmbientValueAttribute(Mono.Cecil.CustomAttributeArgument)>

<LocalizableAttribute(True)>

<ApplyToDesignerAttribute(True)>

Public Property BackgroundImageStyle As ImageStyle
'Usage
 
Dim instance As VisualGridElement

Dim value As ImageStyle

 

instance.BackgroundImageStyle = value

 

value = instance.BackgroundImageStyle
[Description("The style of the grid element's background image.")]

[Category("Appearance")]

[AmbientValue(Mono.Cecil.CustomAttributeArgument)]

[Localizable(true)]

[ApplyToDesigner(true)]

public ImageStyle BackgroundImageStyle {get; set;}

Property Value

An ImageStyle value indicating the style used to display the grid's background image.
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

VisualGridElement Class
VisualGridElement Members