Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / QueryViewerImageEventArgs Class / QueryViewerImageEventArgs Constructor
An object representing the value of the underlying cell.
A Xceed.Grid.CellImageFormatInfo which provides image 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).
An System.Drawing.Image representing the viewer's image.


In This Topic
    QueryViewerImageEventArgs Constructor
    In This Topic
    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 System.Drawing.Image.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal value As Object, _
       ByVal formatInfo As CellImageFormatInfo, _
       ByVal gridElement As GridElement, _
       ByVal image As Image _
    )
    'Usage
     
    Dim value As Object
    Dim formatInfo As CellImageFormatInfo
    Dim gridElement As GridElement
    Dim image As Image
     
    Dim instance As New QueryViewerImageEventArgs(value, formatInfo, gridElement, image)
    public QueryViewerImageEventArgs( 
       object value,
       CellImageFormatInfo formatInfo,
       GridElement gridElement,
       Image image
    )

    Parameters

    value
    An object representing the value of the underlying cell.
    formatInfo
    A Xceed.Grid.CellImageFormatInfo which provides image 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).
    image
    An System.Drawing.Image representing the viewer's image.
    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