SelectableItemsView.SelectedItem 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 currently selected item when SelectionMode is Single.
public:
property System::Object ^ SelectedItem { System::Object ^ get(); void set(System::Object ^ value); };
public object SelectedItem { get; set; }
member this.SelectedItem : obj with get, set
Public Property SelectedItem As Object
Property Value
The selected data item, or null if no item is selected.
Remarks
This property is only meaningful when SelectionMode is Single. For multiple selection, use the SelectedItems property instead. The binding mode defaults to TwoWay.