Window members

Include protected members
Include inherited members

Represents a window that is used in the Microsoft InfoPath application.

The Window type exposes the following members.

Constructors

  Name Description
Protected method Window

Top

Properties

  Name Description
Public property Active Gets a value that indicates whether the window associated with the Window object is the active window.
Public property Caption Gets or sets the caption text for the window represented by the Window object.
Public property CommandBars Gets a reference to the Microsoft Office CommandBars collection of the window that is associated with the Window object.
Public property Height Gets or sets the height of the window represented by the Window object, measured in points.
Public property Left Gets or sets the horizontal position of the window represented by the Window object, measured in points.
Public property MailEnvelope Gets a reference to the MailEnvelope object associated with the window that is represented by the Window object.
Public property TaskPanes Gets a reference to the TaskPaneCollection collection that is associated with the Window object.
Public property Top Gets or sets the vertical position of the window represented by the Window object, measured in points.
Public property Width Gets or sets the width of the window represented by the Window object, measured in points.
Public property WindowState Gets or sets the state of the window represented by the Window object.
Public property WindowType Gets the type of window that is represented by the Window object.
Public property XmlForm Gets a reference to the XmlForm object that is associated with the window that is represented by the Window object.

Top

Methods

  Name Description
Public method Activate Activates (gives focus to) the window that is represented by the Window object.
Public method Close() Closes the window that is represented by the Window object prompting to save changes to any unsaved form, or form with changes that have not been saved.
Public method Close(Boolean) Closes the window that is represented by the Window object and optionally forces an unsaved form or form with unsaved changes to be closed without saving.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

Window class

Microsoft.Office.InfoPath namespace