Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WindowType property

Window.WindowType property

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

Type: Microsoft.Office.InfoPath.WindowType
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 InfoPath Filler.

© 2015 Microsoft