Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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