Xceed Grid for WinForms v4.3 Documentation
CreateControlMode Property (CellEditorManager)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CellEditorManager Class : CreateControlMode Property
Gets a value representing the mode in which the control used to edit the content of cells is created.
Syntax
'Declaration
 
Protected Friend Overridable ReadOnly Property CreateControlMode As CreateControlMode
'Usage
 
Dim instance As CellEditorManager
Dim value As CreateControlMode
 
value = instance.CreateControlMode
protected internal virtual CreateControlMode CreateControlMode {get;}

Property Value

A Xceed.Grid.CreateControlMode value representing the mode in which the control used to edit the content of cells is created. By default, SingleInstance.
Remarks

The CellEditorDisplayConditions properties do not support the Xceed.Grid.CellEditorDisplayConditions.MouseOverCell, MouseOverRow, and Always values in the case where CreateControlMode is set to SingleInstance.

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.

If CreateControlMode is overridden to returned ClonedInstance, CreateControl should also be overridden to return a cloned instance of the TemplateControl.

To clone a control that does not expose or implement the System.ICloneable.Clone method, the generic Xceed.UI.ThemedControl.CloneControl method can be used.

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