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
'Usage
Dim instance As FocusedTask 
Dim value As Task 

value = instance.Task
public Task Task { get; }
public:
property Task^ Task {
    Task^ get ();
}
public 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

FocusedTask Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility