SelectableItemsView.SelectedItems Property
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.
Gets or sets the collection of currently selected items when SelectionMode is Multiple.
public:
property System::Collections::Generic::IList<System::Object ^> ^ SelectedItems { System::Collections::Generic::IList<System::Object ^> ^ get(); void set(System::Collections::Generic::IList<System::Object ^> ^ value); };
public System.Collections.Generic.IList<object> SelectedItems { get; set; }
member this.SelectedItems : System.Collections.Generic.IList<obj> with get, set
Public Property SelectedItems As IList(Of Object)
Property Value
A list of selected data items. Never null; returns an empty list when no items are selected.
Remarks
This property tracks all selected items when SelectionMode is Multiple. For single selection, use the SelectedItem property instead for simpler binding.