Gets or sets the first item in the current selection or returns null if the selection is empty.
This is a dependency property.
Namespace:
DlhSoft.Windows.Controls.PrimitivesAssembly: DlhSoft.Data.Controls (in DlhSoft.Data.Controls.dll)
Syntax
| C# |
|---|
[BindableAttribute(true)] public Object SelectedItem { get; set; } |
| Visual Basic (Declaration) |
|---|
<BindableAttribute(True)> _ Public Property SelectedItem As Object |
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | The SelectionMode property is set to Single. |