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
    Get
public Task FocusedTask { get; }
public:
property Task^ FocusedTask {
    Task^ get ();
}
member FocusedTask : Task
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

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

WPF Designer Extensibility Architecture