Xceed Grid for WinForms v4.3 Documentation
TextEditor Constructor(WinTextBox)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > TextEditor Class > TextEditor Constructor : TextEditor Constructor(WinTextBox)
The WinTextBox to use as a template.
Initializes a new instance of the TextEditor class specifying the WinTextBox control that will be used as a template.
Syntax
'Declaration
 
Public Function New( _

   ByVal template As WinTextBox _

)
'Usage
 
Dim template As WinTextBox

 

Dim instance As New TextEditor(template)
public TextEditor( 

   WinTextBox template

)

Parameters

template
The WinTextBox to use as a template.
Remarks

In the case where CreateControlMode is set to Xceed.Grid.CreateControlMode.SingleInstance (default), the template will be used directly. If CreateControlMode is set to ClonedInstance, the CreateControl method will be called to clone the template 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
Overload List