Xceed Grid for WinForms v4.3 Documentation
QueryEditorFittedWidthEventArgs Constructor


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > QueryEditorFittedWidthEventArgs Class : QueryEditorFittedWidthEventArgs Constructor
The System.Windows.Forms.Control used to edit the cell's content.
The Xceed.Grid.Cell to edit.
This parameter is reserved for future use.
The Graphics object used to paint.
true if the editor is being printed; false otherwise.
The fitted width of the editor in pixels. If -1, then no fitted width is required or desired.
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 width.
Syntax
'Declaration
 
Public Function New( _
   ByVal control As Control, _
   ByVal cell As Cell, _
   ByVal mode As AutoWidthMode, _
   ByVal graphics As Graphics, _
   ByVal printing As Boolean, _
   ByVal fittedWidth As Integer _
)
'Usage
 
Dim control As Control
Dim cell As Cell
Dim mode As AutoWidthMode
Dim graphics As Graphics
Dim printing As Boolean
Dim fittedWidth As Integer
 
Dim instance As New QueryEditorFittedWidthEventArgs(control, cell, mode, graphics, printing, fittedWidth)
public QueryEditorFittedWidthEventArgs( 
   Control control,
   Cell cell,
   AutoWidthMode mode,
   Graphics graphics,
   bool printing,
   int fittedWidth
)

Parameters

control
The System.Windows.Forms.Control used to edit the cell's content.
cell
The Xceed.Grid.Cell to edit.
mode
This parameter is reserved for future use.
graphics
The Graphics object used to paint.
printing
true if the editor is being printed; false otherwise.
fittedWidth
The fitted width of the editor in pixels. If -1, then no fitted width 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

Reference

QueryEditorFittedWidthEventArgs Class
QueryEditorFittedWidthEventArgs Members