Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Editors Namespace / WinComboBox Class / Items Property


In This Topic
    Items Property (WinComboBox)
    In This Topic
    Gets a list representing the collection of the items contained in the WinComboBox.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The collection of the items contained in the WinComboBox.")>
    <CategoryAttribute("Data")>
    <EditorAttribute("Xceed.Editors.Design.ItemsUIEditor,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
    Public ReadOnly Property Items As ComboBoxItemList
    'Usage
     
    Dim instance As WinComboBox
    Dim value As ComboBoxItemList
     
    value = instance.Items
    [Description("The collection of the items contained in the WinComboBox.")]
    [Category("Data")]
    [Editor("Xceed.Editors.Design.ItemsUIEditor,Xceed.Grid.v4.3.Design,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
    public ComboBoxItemList Items {get;}

    Property Value

    A ComboBoxItemList representing the collection of items contained in the WinComboBox.
    Remarks

    This property enables you to obtain a reference to the list of items that are currently stored in the WinComboBox. With this reference, you can add items, remove items, and obtain a count of the items in the collection.

    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