FocusedTask Class

Contains the task that currently has the focus in a tool.

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

Syntax

'Declaration
Public NotInheritable Class FocusedTask _
    Inherits ContextItem
'Usage
Dim instance As FocusedTask
public sealed class FocusedTask : ContextItem
public ref class FocusedTask sealed : public ContextItem
public final class FocusedTask extends ContextItem

Remarks

If the task is nulla null reference (Nothing in Visual Basic), no task currently has the focus. Do not create FocusedTask items yourself. Instead, activate your task through its BeginFocus method. Once a task has the focus, all user input is directed through that task until it no longer has the focus. For more information, see Task.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.ContextItem
    Microsoft.Windows.Design.Interaction.FocusedTask

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FocusedTask Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility