WebWindow.OnBeforeViewChange Event
SharePoint Designer Developer Reference |
Occurs before the view mode of the Web site window changes.
Syntax
Private Sub expression_OnBeforeViewChange(ByVal TargetView As WebViewModeEx, Cancel As Boolean)
expression A variable that represents a WebWindow object that has been declared by using the WithEvents option in a class module.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
TargetView | Required | WebViewModeEx | Represents the new view type. |
Cancel | Required | Boolean | Determines whether the operation should be cancelled. If True, the view is not changed. |
See Also