Task.IsFocused Property
Gets a value indicating whether this task has the focus.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public ReadOnly Property IsFocused As Boolean
Get
public bool IsFocused { get; }
public:
property bool IsFocused {
bool get ();
}
member IsFocused : bool
function get IsFocused () : boolean
Property Value
Type: System.Boolean
true if this task has the focus; otherwise, false.
.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