Xceed Grid for WinForms v4.3 Documentation
BackgroundImage Property (StatelessVisualGridElementStyle)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > StatelessVisualGridElementStyle Class : BackgroundImage Property
Gets or sets the background image of the grid element.
Syntax
'Declaration
 
<DescriptionAttribute("The background image that will be used by the grid element when the style is applied.")>

<CategoryAttribute("Appearance")>

<XmlIgnoreAttribute()>

<AmbientValueAttribute("")>

<LocalizableAttribute(True)>

<ApplyToDesignerAttribute(True)>

Public Property BackgroundImage As Image
'Usage
 
Dim instance As StatelessVisualGridElementStyle

Dim value As Image

 

instance.BackgroundImage = value

 

value = instance.BackgroundImage
[Description("The background image that will be used by the grid element when the style is applied.")]

[Category("Appearance")]

[XmlIgnore()]

[AmbientValue("")]

[Localizable(true)]

[ApplyToDesigner(true)]

public Image BackgroundImage {get; set;}

Property Value

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

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).

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

StatelessVisualGridElementStyle Class
StatelessVisualGridElementStyle Members