Xceed Grid for WinForms v4.3 Documentation
QueryViewerTextEventArgs Constructor


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > QueryViewerTextEventArgs Class : QueryViewerTextEventArgs Constructor
An object representing the value of the underlying cell.
A Xceed.Grid.CellTextFormatInfo which provides text formatting information.
The Xceed.Grid.GridElement associated with the value. The gridElement is usually a Xceed.Grid.Cell or Xceed.Grid.Column and can be a null reference (Nothing in Visual Basic).
The text that is to be displayed by the CellViewerManager.
Initializes a new instance of the QueryViewerImageEventArgs class specifying the Xceed.Grid.Cell whose content is to be displayed as well as the viewer's Text.
Syntax
'Declaration
 
Public Function New( _
   ByVal value As Object, _
   ByVal formatInfo As CellTextFormatInfo, _
   ByVal gridElement As GridElement, _
   ByVal text As String _
)
'Usage
 
Dim value As Object
Dim formatInfo As CellTextFormatInfo
Dim gridElement As GridElement
Dim text As String
 
Dim instance As New QueryViewerTextEventArgs(value, formatInfo, gridElement, text)
public QueryViewerTextEventArgs( 
   object value,
   CellTextFormatInfo formatInfo,
   GridElement gridElement,
   string text
)

Parameters

value
An object representing the value of the underlying cell.
formatInfo
A Xceed.Grid.CellTextFormatInfo which provides text formatting information.
gridElement
The Xceed.Grid.GridElement associated with the value. The gridElement is usually a Xceed.Grid.Cell or Xceed.Grid.Column and can be a null reference (Nothing in Visual Basic).
text
The text that is to be displayed by the CellViewerManager.
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

QueryViewerTextEventArgs Class
QueryViewerTextEventArgs Members