Gets or sets the first entity in the current selection or returns null if the selection is empty. This is a dependency property.

Namespace:  DlhSoft.Windows.Controls.Primitives
Assembly:  DlhSoft.Data.Controls (in DlhSoft.Data.Controls.dll)

Syntax

C#
[BindableAttribute(true)]
public Entity SelectedEntity { get; set; }
Visual Basic (Declaration)
<BindableAttribute(True)> _
Public Property SelectedEntity As Entity

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe SelectionMode property is set to Single.

See Also