MultiSelectComboBox.EnableItems(Boolean, IEnumerable<Object>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.