Share via


FocusedTask.Task Property

Gets the task that has the focus.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public ReadOnly Property Task As Task
    Get
public Task Task { get; }
public:
property Task^ Task {
    Task^ get ();
}
member Task : Task
function get Task () : Task

Property Value

Type: Microsoft.Windows.Design.Interaction.Task
A Task object representing the task that has the focus.

Remarks

If this property is nulla null reference (Nothing in Visual Basic), there is no task currently executing in the tool. If this property is not nulla null reference (Nothing in Visual Basic), it contains the task that is currently executing.

.NET Framework Security

See Also

Reference

FocusedTask Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility