Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / QueryEditorFittedHeightEventArgs Class / QueryEditorFittedHeightEventArgs Constructor
The System.Windows.Forms.Control used to edit the cell's content.
The Xceed.Grid.Cell to edit.
An Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the editor will be calculated.
A value, in pixels, representing the display width of the cell. The display width of the cell is its width without the borders.
The Graphics object used to paint.
true if the editor is being printed; false otherwise.
The fitted height of the editor in pixels. If -1, then no fitted height is required or desired.


In This Topic
    QueryEditorFittedHeightEventArgs Constructor
    In This Topic
    Initializes a new instance of the QueryEditorFittedHeightEventArgs class specifying the cell to be edited, the control used to edit the cell's content, as well as various information required to calculate the editor's fitted height.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal control As Control, _
       ByVal cell As Cell, _
       ByVal mode As AutoHeightMode, _
       ByVal cellDisplayWidth As Integer, _
       ByVal graphics As Graphics, _
       ByVal printing As Boolean, _
       ByVal fittedHeight As Integer _
    )
    'Usage
     
    Dim control As Control
    Dim cell As Cell
    Dim mode As AutoHeightMode
    Dim cellDisplayWidth As Integer
    Dim graphics As Graphics
    Dim printing As Boolean
    Dim fittedHeight As Integer
     
    Dim instance As New QueryEditorFittedHeightEventArgs(control, cell, mode, cellDisplayWidth, graphics, printing, fittedHeight)
    public QueryEditorFittedHeightEventArgs( 
       Control control,
       Cell cell,
       AutoHeightMode mode,
       int cellDisplayWidth,
       Graphics graphics,
       bool printing,
       int fittedHeight
    )

    Parameters

    control
    The System.Windows.Forms.Control used to edit the cell's content.
    cell
    The Xceed.Grid.Cell to edit.
    mode
    An Xceed.Grid.AutoHeightMode value indicating in regards to what factors the fitted height of the editor will be calculated.
    cellDisplayWidth
    A value, in pixels, representing the display width of the cell. The display width of the cell is its width without the borders.
    graphics
    The Graphics object used to paint.
    printing
    true if the editor is being printed; false otherwise.
    fittedHeight
    The fitted height of the editor in pixels. If -1, then no fitted height is required or desired.
    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