Xceed Grid for WinForms v4.3 Documentation
CreateControl Method (CheckBoxEditor)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CheckBoxEditor Class : CreateControl Method
Creates the System.Windows.Forms.Control that will be used to edit the content of cells.
Syntax
'Declaration
 
Protected Friend Overrides Function CreateControl() As Control
'Usage
 
Dim instance As CheckBoxEditor

Dim value As Control

 

value = instance.CreateControl()
protected internal override Control CreateControl()

Return Value

A System.Windows.Forms.Control that will be used to edit the content of cells. If CreateControlMode is set to Xceed.Grid.CreateControlMode.ClonedInstance, a new instance of the control should be returned.
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
Base Implementation in CreateControl