Share via


Window.Active property

Gets a value that indicates whether the window associated with the Window object is the active window.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Active As Boolean
    Get
'Usage
Dim instance As Window
Dim value As Boolean

value = instance.Active
public abstract bool Active { get; }

Property value

Type: System.Boolean
true if the window associated with the Window object is the active window, otherwise false.

Remarks

To designate a window as the active window, use the Activate method.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See also

Reference

Window class

Window members

Microsoft.Office.InfoPath namespace