Syncfusion.Grid.Windows
Example 


BackgroundImage Property (GridStyleInfo)

Gets or sets the image that the cell displays as background.
Syntax
'Declaration
 
<DescriptionAttribute("Gets / sets the image that the PictureBox displays.")>
<BrowsableAttribute(True)>
<CategoryAttribute("Image")>
<NotifyParentPropertyAttribute(True)>
Public Property BackgroundImage As Image
'Usage
 
Dim instance As GridStyleInfo
Dim value As Image
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage
[Description("Gets / sets the image that the PictureBox displays.")]
[Browsable(true)]
[Category("Image")]
[NotifyParentProperty(true)]
public Image BackgroundImage {get; set;}
Remarks

The default value for the BackgroundImage property is NULL.

The property affects the behavior or appearance of the following cell types:

Example
This example show how to set the back ground image for the cells.
Image image = Image.FromFile(@"\...\...\FileName.jpg");
this.gridControl1.TableStyle.BackgroundImage = image;
Dim image As Image = Image.FromFile("\...\...\FileName.jpg")
Me.gridControl1.TableStyle.BackgroundImage = image
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also