Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / CellViewerManager Class / SettingControlAppearance Event


In This Topic
    SettingControlAppearance Event (CellViewerManager)
    In This Topic
    Raised when the appearance of the underlining control is about to be set.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Raised when the appearance of the underlining is about to be set.")>
    <CategoryAttribute("Appearance")>
    Public Event SettingControlAppearance As CellViewerEventHandler
    'Usage
     
    Dim instance As CellViewerManager
    Dim handler As CellViewerEventHandler
     
    AddHandler instance.SettingControlAppearance, handler
    [Description("Raised when the appearance of the underlining is about to be set.")]
    [Category("Appearance")]
    public event CellViewerEventHandler SettingControlAppearance
    Event Data

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

    PropertyDescription
    Gets the Xceed.Grid.Cell whose content is being displayed.  
    Gets the System.Windows.Forms.Control used to view the content of the Cell.  
    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