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


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

Property Value

A value representing the default value of the BackgroundImageStyle property. Unless overridden, if a style is applied to the datarow and the style's StatelessVisualGridElementStyle.IsBackgroundImageStyleDefined is true, BackgroundImageStyle; otherwise ImageStyle.Align.
Remarks

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

If the base implementation of DefaultBackgroundImageStyle 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 DefaultBackgroundImageStyle
ResetBackgroundImageStyle Method