Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / ComboBoxViewer Class
Members


In This Topic
    ComboBoxViewer Class
    In This Topic
    The ComboBoxViewer class represents a viewer that can be used to display the content of cells which have an ID/Value mapping.
    Syntax
    'Declaration
     
    <DesignTimeVisibleAttribute(False)>
    <ToolboxItemAttribute(False)>
    Public Class ComboBoxViewer 
       Inherits TextViewer
    'Usage
     
    Dim instance As ComboBoxViewer
    [DesignTimeVisible(false)]
    [ToolboxItem(false)]
    public class ComboBoxViewer : TextViewer 
    Remarks

    The ComboBoxViewer does not support unbound mode. In order to simulate unbound mode, a CellEditorManager populated with unbound data can be created and then its TemplateControl Xceed.Editors.WinComboBox.Cloned and wrapped in a CellViewerManager.

    When generating a report using the reporting capabilities of Xceed Grid for .NET, CellViewerManagers will only be reproduced in the report if the GetImage(Object) and/or GetText(Object) methods return the image or text that is to be displayed (GetImageCore and/or GetTextCore have been overridden). In the case where the GetImageCore and/or GetTextCore methods have not been overridden to return the desired image and/or text, the string representation of the underlying cell's content will be displayed in the report.

    Inheritance Hierarchy

    System.Object
       Xceed.Grid.Viewers.CellViewerManager
          Xceed.Grid.Viewers.TextViewer
             Xceed.Grid.Viewers.ComboBoxViewer

    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