ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / ComboBox Class / ItemCollection Property

In This Topic
    ItemCollection Property (ComboBox)
    In This Topic
    Gets the combo box items.
    Syntax
    public ReadOnlyObservableCollection<object> ItemCollection {get;}
    Public ReadOnly Property ItemCollection As ReadOnlyObservableCollection(Of Object)
    Remarks

    The default item template for combo boxes expects a collection of ComboBoxItem. If you are using your own item template, you can fill the collection with whatever type is appropriate.

    All items added to the ItemCollection must be created on the main UI thread as these ultimately become UI content.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also