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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > TextEditor 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 TextEditor

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

TextEditor Class
TextEditor Members
Base Implementation in CreateControl