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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace