Xceed Grid for WinForms v4.3 Documentation
QueryText Event


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

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

PropertyDescription
Gets a Xceed.Grid.CellTextFormatInfo which provides text formatting information.  
Gets the Xceed.Grid.GridElement associated with the Value.  
Gets or sets the viewer's text.  
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 image can be retrieved using the GetImage(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