Share via


MultiSelectComboBox.EnableItems(Boolean, IEnumerable<Object>) Method

Definition

Enables or disables items in the MultiSelectComboBox.

public void EnableItems (bool setEnabled, System.Collections.Generic.IEnumerable<object> items);
member this.EnableItems : bool * seq<obj> -> unit
Public Sub EnableItems (setEnabled As Boolean, items As IEnumerable(Of Object))

Parameters

setEnabled
Boolean

True to enable the items, false to disable them.

items
IEnumerable<Object>

The collection of items from the data source for which to change the enabled state.

Exceptions

Thrown when an item provided is not present in the data source.

Applies to