Version

AddSelectorImage Method

Add a css class containing a new image to the row selector's image area.
Syntax
'Declaration
 
Sub AddSelectorImage( _
   ByVal record As GridRecord, _
   ByVal className As String _
) 
void AddSelectorImage( 
   GridRecord record,
   string className
)

Parameters

record
The row that the row selector belongs to
className
The css class to apply
Remarks

This method is designed for other behaviors to use. It shouldn't be necessary to use it otherwise.

The images on the row selector are set using CSS classes. The classes will be applied to a div element inside the row selector. It's recommended that you don't set padding or borders in your css or it will distort the width and height of the row selector. Your style will need to set an appropriate width and height to display the image.

If mutiple css classes are applied, the resolution will be up to the browser depending on the order that the classes are declared in.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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