This documentation is archived and is not being maintained.

Window.WindowType Property (Microsoft.Office.InfoPath)

Gets the type of window that is represented by the Window object.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

public abstract WindowType WindowType { get; }

Property Value

A WindowState enumeration value that represents the window's type.

The Window objects represents the two types of windows that are used in the InfoPath application: the editing window that is used when a user fills out a form, and the designing window that is used in design mode when a user designs a form.

This member can be accessed without restrictions.

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

Show: