FlexGrid for WinForms
BackgroundImage Property



Gets or sets the style's background image.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.BitmapEditor, System.Drawing.Design")>
Public Property BackgroundImage As Image
'Usage
 
Dim instance As CellStyle
Dim value As Image
 
instance.BackgroundImage = value
 
value = instance.BackgroundImage
[DefaultValue()]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.BitmapEditor, System.Drawing.Design")]
public Image BackgroundImage {get; set;}
[DefaultValue()]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Drawing.Design.BitmapEditor, System.Drawing.Design")]
public:
property Image^ BackgroundImage {
   Image^ get();
   void set (    Image^ value);
}
Remarks

This property works with BackgroundImageLayout to determine whether and how background images are rendered in cells.

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

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback