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

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)

Syntax

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

Exceptions

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

See Also