WebWindow Object Members

SharePoint Designer Developer Reference

Represents a window in which a Web site is opened.

Methods

  Name Description
Activate Activates the specified WebWindow object. When you have multiple objects open, you can use the Activate method to work with a specific WebWindow object.
Close Closes a Web site.
SaveReport Saves a specified report to an HTML file on the user's computer.
VerifyAllLinks Verifies all hyperlinks in the specified Web site.The Broken Hyperlinks report uses the VerifyAllLinks method to display any pages with broken hyperlinks.

Properties

  Name Description
ActivePageWindow Returns a PageWindow object that represents the window in which the current page is displayed.
Application Returns an Application object that represents the 2nd_SPDesignerGeneric application.
Caption Returns a String that represents the text displayed in the title bar of 2nd_SPDesignerGeneric.
PageWindows Returns the specified PageWindow object.
Parent Returns an Object that represents the parent object of the specified object. Read-only.
SelectedFiles Returns an array of WebFile objects that represents the selected files.
SelectedFolders Returns an array of WebFolder objects representing the selected folders.
ViewMode Returns or sets a WebViewMode constant that defines the view mode of the current window. Read/write.
Visible Returns or sets a Boolean that represents the visible state of a Web window. False indicates that the Web site has a windowless state.
Web Returns a Web object that accesses the Web site opened in an instance of 2nd_SPDesignerGeneric.

Events

  Name Description
OnActivate Occurs when the Web window obtains the focus and becomes the current window.
OnAfterViewChange Occurs after the view has changed in the active page window or Web site window.
OnBeforeViewChange Occurs before the view mode of the Web site window changes.
OnDeactivate Occurs when a user switches to another application window and the active Web site window loses the focus.