Window.Active Property (Microsoft.Office.InfoPath)

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
'Usage
Dim instance As Window
Dim value As Boolean

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

Property Value

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 Office InfoPath 2007.

See Also

Reference

Window Class
Window Members
Microsoft.Office.InfoPath Namespace