Xceed Grid for WinForms v4.3 Documentation
ActivateControl Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CellEditorManager Class : ActivateControl Method
The System.Windows.Forms.Control that will be used to edit the content of the cell.
The Xceed.Grid.Cell whose content is to be edited by the control.A reference to a Xceed.Grid.Cell object representing the cell to be edited.
Activates the control that will be used to edit the content of the cell and raises the ActivatingControl event.Activates the control that will be used to edit the content of a cell.
Syntax
'Declaration
 
Protected Friend Sub ActivateControl( _
   ByVal control As Control, _
   ByVal cell As Cell _
) 
'Usage
 
Dim instance As CellEditorManager
Dim control As Control
Dim cell As Cell
 
instance.ActivateControl(control, cell)
protected internal void ActivateControl( 
   Control control,
   Cell cell
)

Parameters

control
The System.Windows.Forms.Control that will be used to edit the content of the cell.
cell
The Xceed.Grid.Cell whose content is to be edited by the control.A reference to a Xceed.Grid.Cell object representing the cell to be edited.
Remarks

ActivateControl is called beforeXceed.Grid.ICellEditor.SetControlValue and before the control is visible.

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