Xceed Grid for WinForms v4.3 Documentation
CheckBoxEditor Constructor(WinCheckBox,Boolean)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CheckBoxEditor Class > CheckBoxEditor Constructor : CheckBoxEditor Constructor(WinCheckBox,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 boolean cells.
Indicates if the control should handle the mouse click once it is activated.
Initializes a new instance of the CellEditorManager class specifying the control that will be used as a template to edit the content of boolean cells, as well as other characteristics that will apply to the editor.
Syntax
'Declaration
 
Protected Function New( _

   ByVal templateControl As WinCheckBox, _

   ByVal handleActivationClick As Boolean _

)
'Usage
 
Dim templateControl As WinCheckBox

Dim handleActivationClick As Boolean

 

Dim instance As New CheckBoxEditor(templateControl, handleActivationClick)
protected CheckBoxEditor( 

   WinCheckBox templateControl,

   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 boolean cells.
handleActivationClick
Indicates if the control should handle the mouse click once it is activated.
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

CheckBoxEditor Class
CheckBoxEditor Members
Overload List