Xceed Grid for WinForms v4.3 Documentation
CellEditorManager Constructor(Control,Boolean,Boolean)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CellEditorManager Class > CellEditorManager Constructor : CellEditorManager Constructor(Control,Boolean,Boolean)
A reference to a System.Windows.Forms.Control representing the control that will be used as a template to create the controls that will edit the content of cells.
true if the System.Windows.Forms.Control is painted within the bounds of the cell; false otherwise.
Indicates if the control should handle the mouse click once it is activated. Only in the case where inPlace is set to true does it make sense for handleActivationClick to also be set to true.
Initializes a new instance of the CellEditorManager class specifying the control that will be used as a template to edit the content of cells, as well as other characteristics that will apply to the editor.
Syntax
'Declaration
 
Protected Function New( _
   ByVal templateControl As Control, _
   ByVal inPlace As Boolean, _
   ByVal handleActivationClick As Boolean _
)
'Usage
 
Dim templateControl As Control
Dim inPlace As Boolean
Dim handleActivationClick As Boolean
 
Dim instance As New CellEditorManager(templateControl, inPlace, handleActivationClick)
protected CellEditorManager( 
   Control templateControl,
   bool inPlace,
   bool handleActivationClick
)

Parameters

templateControl
A reference to a System.Windows.Forms.Control representing the control that will be used as a template to create the controls that will edit the content of cells.
inPlace
true if the System.Windows.Forms.Control is painted within the bounds of the cell; false otherwise.
handleActivationClick
Indicates if the control should handle the mouse click once it is activated. Only in the case where inPlace is set to true does it make sense for handleActivationClick to also be set to true.
Remarks

In the case where CreateControlMode is set to Xceed.Grid.CreateControlMode.SingleInstance (default), the templateControl will be used directly. If CreateControlMode is set to ClonedInstance, the CreateControl method will be called to clone the templateControl when needed.

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

CellEditorManager Class
CellEditorManager Members
Overload List