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)

Syntax

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

value = instance.WindowType
public abstract WindowType WindowType { get; }

Property value

Type: Microsoft.Office.InfoPath.WindowType
A WindowState enumeration value that represents the window's type.

Remarks

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.

See also

Reference

Window class

Window members

Microsoft.Office.InfoPath namespace