Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / VisualGridElement Class / BackgroundImage Property


BackgroundImage Property (VisualGridElement)
Gets or sets the background image of the grid element.
Syntax
'Declaration
 
<DescriptionAttribute("The background image of the grid element.")>
<CategoryAttribute("Appearance")>
<AmbientValueAttribute("")>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(True)>
Public Property BackgroundImage As Image
 
'Usage
 
Dim instance As VisualGridElement
Dim value As Image
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage

Property Value

A reference to a System.Drawing.Image object representing the background image of the grid element.
Remarks

The appearance of the background image can be modified via the BackgroundImageStyle and BackgroundImageAlignment properties.

To reset the value of the BackgroundImage property to its default value, DefaultBackgroundImage, the ResetBackgroundImage method must be called or the BackgroundImage property set to a null reference (Nothing in Visual Basic).

ColumnManagerRow objects will not display a background image if the Xceed.UI.ThemedControl.UIStyle property is set to UIStyle.WindowsXP.

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