Skip to main content

WindowsUIView Events

A DocumentManager View that allows you to create Windows 10-like applications.
Name Description
BackButtonClick Fires when an end-user clicks a ‘Back’ button within a Navigation Bar.
BeforeLoadLayout Fires when the View attempts to restore a previously saved layout version. Allows you to cancel this restoration. Inherited from BaseView.
BeginDocking Allows you to cancel docking a document onto the current control. Inherited from BaseView.
BeginDocumentsHostDocking Occurs whenever a Floating Documents Container starts docking to this BaseView. Inherited from BaseView.
BeginFloating Fires when an end-user starts to drag a docked document, so that it is transformed into a floating window. Inherited from BaseView.
BeginSizing Occurs when a resizing of the current View’s layout begins. Inherited from BaseView.
ContentContainerActionCustomization Allows you to customize default Navigation Bar Actions.
ContentContainerActivated Fires when a Content Container gets activated.
ContentContainerAdded Fires when a Content Container is being added to the WindowsUIView.ContentContainers collection.
ContentContainerDeactivated Fires when a Content Container gets deactivated.
ContentContainerHeaderClick Occurs when an end-user clicks a Document header within any Content Container in this WindowsUIView.
ContentContainerRemoved Fires when a Content Container is being removed from the WindowsUIView.ContentContainers collection.
ControlLoaded Occurs after a control has been loaded to a Document within this BaseView. Inherited from BaseView.
ControlReleased Fires after a control has been succesfully unbound from its parent document. Inherited from BaseView.
ControlReleasing Occurs when a document is deselected and allows you to unbind the document from its content and dispose of the content. This event is in effect in Deferred Load mode. Inherited from BaseView.
ControlShown Fires when an empty document is loaded and displayed. Inherited from BaseView.
CustomDocumentsHostWindow Allows you to replace the default container for floating documents. Handle this event only when the BaseView.FloatingDocumentContainer property equals DocumentsHost. Inherited from BaseView.
CustomDrawBackButton Fires whenever the Back button needs to be displayed and allows you to manually draw this button.
CustomDrawBackground Occurs when the current View’s background becomes visible to an end-user. Inherited from BaseView.
CustomizeSearchItems Occurs when the search panel is invoked. Allows you to customize search results and manually specify the content within which the search panel should look for the entered text.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DocumentActivated Fires when the View’s ActiveDocument or ActiveFloatDocument property value changes. This event does not occur on DocumentManager initialization, or when user focus switches between a docked and a floating Document. In these cases, handle the DocumentActivate event instead. Inherited from BaseView.
DocumentAdded Fires when a new document is added to the current View. Inherited from BaseView.
DocumentClosed Fires after a document has been closed. Inherited from BaseView.
DocumentClosing Fires when a document is about to be closed. Inherited from BaseView.
DocumentDeactivated Fires when a document is deactivated. Inherited from BaseView.
DocumentRemoved Fires when a document is removed from the BaseView.Documents collection. Inherited from BaseView.
DocumentSelectorCustomSortItems Allows you to manually sort documents and dock panels displayed within the Document Selector. Inherited from BaseView.
DocumentSelectorHidden Fires when a document selector is closed. Inherited from BaseView.
DocumentSelectorShown Fires when a document selector is displayed. Inherited from BaseView.
EmptyDocumentsHostWindow Fires when the last floating document in the documents host window is closed or the control it contains is disposed, allowing you to specify whether to keep open the empty documents host window. Inherited from BaseView.
EndDocking Fires after a document has been docked to the control. Inherited from BaseView.
EndDocumentsHostDocking Occurs when a Floating Document Container with all its child Documents is docked to a View. Inherited from BaseView.
EndFloating Fires after an end-user drops a floating document. Inherited from BaseView.
EndSizing Occurs when resizing the current View’s layout is complete. Inherited from BaseView.
Floating Fires when a docked document becomes floating. Inherited from BaseView.
FlyoutHidden Occurs when a Flyout within the WindowsUIView is completely closed.
FlyoutHiding Occurs when a Flyout within the WindowsUIView is to be closed.
FlyoutShowing Occurs when a Flyout is to be displayed.
FlyoutShown Occurs after a Flyout within the WindowsUIView is completely displayed.
GotFocus Fires when focus is moved to any document within the current View. Inherited from BaseView.
HierarchyChanged Occurs when the application’s hierarchy (navigation tree) has been changed.
Layout Occurs whenever the current DocumentManager‘s layout is being modified. Inherited from BaseView.
LayoutReset Fires after a DocumentManager‘s layout was reset. Inherited from BaseView.
LayoutResetting Occurs when the current BaseView‘s layout is to be reset. Inherited from BaseView.
LayoutUpgrade Occurs after a layout whose version doesn’t match the current layout’s version has been loaded from storage (a stream, xml file or system registry). Inherited from BaseView.
LoadingIndicatorShowing Occurs when the loading indicator is shown within this BaseView. Inherited from BaseView.
LostFocus Fires when focus is moved from the current View’s document to any external control (for instance, to an external DockPanel). Inherited from BaseView.
NavigatedFrom Occurs when a current Content Container is deactivated.
NavigatedTo Occurs when a new Content Container is activated.
NavigationBarsButtonClick Occurs when an end-user clicks an action within a Navigation Bar.
NavigationBarsHidden Fires when navigation bars are hidden.
NavigationBarsShowing Occurs when Navigation Bars are to be displayed.
NavigationBarsShown Fires when navigation bars are shown.
NextDocument Fires when an end-user tries to switch to the next or previous document by pressing CTRL+TAB or CTRL+SHIFT+TAB. Inherited from BaseView.
Paint Occurs when the BaseView is redrawn. Inherited from BaseView.
PopupMenuShowing Fires when a context menu is about to be displayed. Inherited from BaseView.
QueryControl Occurs when a document is to be displayed and allows you to assign content to this document. This event is in effect in Deferred Load mode. Inherited from BaseView.
QueryDocument Occurs when the restored layout version has a Document that is not present in the View. Allows you to skip this Document or add it to the View. Inherited from BaseView.
QueryDocumentActions Allows you to add How To: Create Custom Document Actions to Content Containers within the current WindowsUIView.
QueryFlyoutActionsControl Allows you to assign content for popup container actions.
QueryStartupContentContainer Fires at the WindowsUIView application start-up.
RegisterDocumentsHostWindow Fires when a document starts to float in its individual container. Provides access to the host window and its DocumentManager so you can handle events as required. This event is in effect in DocumentsHost mode. Inherited from BaseView.
SearchItemClick Occurs when end-users click any item displayed by the WindowsUIView‘s Search Panel.
SearchPanelHidden Occurs after the Search Panel is completely closed.
SearchPanelShowing Occurs when the Search Panel is about to be displayed.
SearchPanelShown Occurs after the Search Panel is displayed.
ShowingDockGuides Allows you to hide dock guides and hints that appear when a user drags a Document or a DockPanel. Inherited from BaseView.
TileAdded Occurs when a Tile is added to the current WindowsUIView.
TileCheckedChanged Occurs when the checked state for any Tile within the current WindowsUIView was changed.
TileClick Occurs when any Tile within the current WindowsUIView is clicked.
TilePress Occurs when any Tile within the WindowsUIView is pressed.
TileRemoved Occurs when a Tile is removed from the current WindowsUIView.
UnregisterDocumentsHostWindow Fires when a documents host window is closed and allows you to unsubscribe event handlers from its DocumentManager. Inherited from BaseView.
See Also