Xceed Grid for WinForms v4.3 Documentation
Add(Type,CellEditorManager) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Collections Namespace > CellEditorManagerDictionary Class > Add Method : Add(Type,CellEditorManager) Method
A type representing the datatype of the cells that will be edited by the specified cellEditorManager.
A reference to a Xceed.Grid.Editors.CellEditorManager representing the CellEditorManager that will be used to edit cells with the specified datatype.
Adds an entry to the hashtable specifying the type and Xceed.Grid.Editors.CellEditorManager that will be used to edit cells of the specified datatype.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal type As Type, _
   ByVal cellEditorManager As CellEditorManager _
) 
'Usage
 
Dim instance As CellEditorManagerDictionary
Dim type As Type
Dim cellEditorManager As CellEditorManager
 
instance.Add(type, cellEditorManager)
public void Add( 
   Type type,
   CellEditorManager cellEditorManager
)

Parameters

type
A type representing the datatype of the cells that will be edited by the specified cellEditorManager.
cellEditorManager
A reference to a Xceed.Grid.Editors.CellEditorManager representing the CellEditorManager that will be used to edit cells with the specified datatype.
Remarks

If type is a null reference (Nothing in Visual Basic), then the cellEditorManager will be used to edit all the cells for whose datatypes a CellEditorManager has not been specified.

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

CellEditorManagerDictionary Class
CellEditorManagerDictionary Members
Overload List