PageWindow Object Members
SharePoint Designer Developer Reference |
Represents an open editor session and encapsulates the object model that is compatible with the Document object model for Microsoft Internet Explorer 4.0 and later.
Methods
Name | Description | |
---|---|---|
Activate | Activates the specified PageWindow object. When you have multiple objects open, you can use the Activate method to programmatically work with a specific PageWindow object. | |
ApplyTheme | Applies a theme to the page displayed in the page window. | |
Close | Closes the specified PageWindow object. | |
Refresh | Refreshes the specified page with an option to save changes. | |
Save | Saves a page. | |
SaveAs | Writes the specified page object to the destination URL. |
Properties
Name | Description | |
---|---|---|
ActiveDocument | Returns a DesignerDocument object that represents the Web page currently displayed in the 2nd_SPDesignerGeneric application window. | |
ActiveFrameWindow | Returns a DesignerWindow object that represents the document displayed in the active page window. | |
Application | Returns an Application object that represents the 2nd_SPDesignerGeneric application. | |
Caption | Returns a String that represents the the URL of a Web page that is opened in the page window. | |
Document | Returns an DesignerDocument object that represents a page opened in 2nd_SPDesignerGeneric. | |
File | Returns a WebFile object that represents the Web page associated with the specified object. | |
FrameWindow | Returns a DesignerWindow object that represents the parent frame page for a frame window. | |
IsDirty | Returns a Boolean that represents whether a page has changed since the last time the user saved it. True indicates that the page has changed. | |
Parent | Returns an Object that represents the parent object of the specified object. Read-only. | |
PreviewDocument | Returns a DesignerDocument object that represents the document in the preview mode of the Page view. | |
ThemeProperties | Sets the theme properties for a page. | |
ViewMode | Returns or sets a PageViewMode constant that represents the view mode of the active page window. Read/write. | |
Visible | Returns a Boolean that represents the visible state of a page window. False indicates that a page window has a windowless state. | |
Web | Returns a Web object that represents the parent Web site for a page opened in 2nd_SPDesignerGeneric. |
Events
Name | Description | |
---|---|---|
OnActivate | Occurs when the page window obtains the focus and becomes the current window. | |
OnAfterSave | Occurs after the active document has been saved by the user. | |
OnAfterViewChange | Occurs after the view has changed in the active page window or Web site window. | |
OnBeforeSave | Occurs before a page in an active extended page window is saved. | |
OnBeforeViewChange | Occurs before the view mode of the page window changes. | |
OnClose | Occurs when a user closes the active page window. |