Xceed Grid for WinForms v4.3 Documentation
DefaultBackgroundImage Property (DataRow)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > DataRow Class : DefaultBackgroundImage Property
Gets the default value of the BackgroundImage property.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property DefaultBackgroundImage As Image
'Usage
 
Dim instance As DataRow
Dim value As Image
 
value = instance.DefaultBackgroundImage
protected override Image DefaultBackgroundImage {get;}

Property Value

A value representing the default value of the BackgroundImage property. Unless overridden, if a style is applied to the datarow and the style's StatelessVisualGridElementStyle.IsBackgroundImageDefined is true, BackgroundImage; otherwise a null reference (Nothing in Visual Basic).
Remarks

When overriding DefaultBackgroundImage in a derived class, the value returned by your implementation should not be dynamic.

If the base implementation of DefaultBackgroundImage is not returned in the override, the alternation of datarow styles will no longer function.

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

DataRow Class
DataRow Members
Base Implementation in DefaultBackgroundImage
ResetBackgroundImage Method