Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / CellEditorManager Class / SetControlAppearanceCore 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.


In This Topic
    SetControlAppearanceCore Method (CellEditorManager)
    In This Topic
    Sets the appearance of the control that will be used to edit the content of the cell.
    Syntax
    'Declaration
     
    Protected Overridable Sub SetControlAppearanceCore( _
       ByVal control As Control, _
       ByVal cell As Cell _
    ) 
    'Usage
     
    Dim instance As CellEditorManager
    Dim control As Control
    Dim cell As Cell
     
    instance.SetControlAppearanceCore(control, cell)
    protected virtual void SetControlAppearanceCore( 
       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.
    Remarks

    Only in the case where the appearance of the underyling TemplateControl is different depending on the cell should the appearance properties of the control be changed in the SetControlAppearanceCore method. In all other cases, the properties of the underlying control should be changed in the constructor.

    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