Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Editors Namespace / CellEditorManager Class / SettingControlAppearance Event


    SettingControlAppearance Event (CellEditorManager)
    Raised to set the appearance of the control that will be used to edit the content of its corresponding cell.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised to set the appearance of the control that will be used to edit the content of its corresponding cell.")>
    <CategoryAttribute("Appearance")>
    Public Event SettingControlAppearance As CellEditorEventHandler
     
    'Usage
     
    Dim instance As CellEditorManager
    Dim handler As CellEditorEventHandler
     
    AddHandler instance.SettingControlAppearance, handler
    Event Data

    The event handler receives an argument of type CellEditorEventArgs containing data related to this event. The following CellEditorEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the Xceed.Grid.Cell being edited.  
    Gets the Control used to edit the cell's content.  
    Remarks

    Only in the case where the appearance of the underyling control is different depending on the cell should the appearance properties of the control be changed in the SettingControlAppearance event.

    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