Share via


Tool.FocusedTask Property

Gets the currently focused task, if one exists.

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

Syntax

'Declaration
Public ReadOnly Property FocusedTask As Task
'Usage
Dim instance As Tool 
Dim value As Task 

value = instance.FocusedTask
public Task FocusedTask { get; }
public:
property Task^ FocusedTask {
    Task^ get ();
}
public function get FocusedTask () : Task

Property Value

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

Remarks

When a task is focused, a tool will only route commands to the task until it deactivates itself.

.NET Framework Security

See Also

Reference

Tool Class

Tool Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility Architecture