Xceed Grid for WinForms v4.3 Documentation
QueryImage Event (CellViewerManager)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > CellViewerManager Class : QueryImage Event
Raised when retrieving the image displayed by the cell viewer.
Syntax
'Declaration
 
<DescriptionAttribute("Raised when retrieving the image displayed by the cell viewer.")>
<CategoryAttribute("Appearance")>
Public Event QueryImage As QueryViewerImageEventHandler
'Usage
 
Dim instance As CellViewerManager
Dim handler As QueryViewerImageEventHandler
 
AddHandler instance.QueryImage, handler
[Description("Raised when retrieving the image displayed by the cell viewer.")]
[Category("Appearance")]
public event QueryViewerImageEventHandler QueryImage
Event Data

The event handler receives an argument of type QueryViewerImageEventArgs containing data related to this event. The following QueryViewerImageEventArgs properties provide information specific to this event.

PropertyDescription
Gets a Xceed.Grid.CellImageFormatInfo which provides image formatting information.  
Gets the Xceed.Grid.GridElement associated with the Value.  
Gets or sets the viewer's image.  
Gets the value of the underlying cell.  
Remarks

A cell viewer can display an image and text representing the content of the cell to which it is associated. If an image is displayed, it is displayed to the left or right of the text. If no text is displayed, the image will occupy the entire space. The text can be retrieved using the GetText(Object) method.

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