Skip to main content

WidgetView Events

A Widget View.
Name Description
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.
BeginDragging Occurs whenever an end-user tries to drag a Document.
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.
BeginStackGroupDragging Occurs immediately after an end-user moves a StackGroup within this WidgetView.
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.
CustomDrawBackground Occurs when the current View’s background becomes visible to an end-user. Inherited from BaseView.
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.
Dragging Occurs when a Document within this WidgetView is dragged.
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.
EndDragging Occurs whenever an end-user drops a Document after dragging.
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.
EndStackGroupDragging Occurs when an end-user drops a dragged StackGroup.
Floating Fires when a docked document becomes floating. Inherited from BaseView.
GotFocus Fires when focus is moved to any document within the current View. Inherited from BaseView.
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.
MaximizedControlLoaded Fires after a WidgetView document receives its maximized control on the WidgetView.QueryMaximizedControl event.
MaximizedControlReleased Fires after the WidgetView document was destroyed.
MaximizedControlReleasing Occurs when a WidgetView document is minimized back to its regular state and allows you to destroy its maximized content.
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.
QueryMaximizedControl Allows you to dynamically assign a maximized control for each widget document.
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.
RestoreLayoutError Occurs when a saved layout is invalid and cannot be restored. Allows you to fix restore layout exceptions. Inherited from BaseView.
ShowingDockGuides Allows you to hide dock guides and hints that appear when a user drags a Document or a DockPanel. Inherited from BaseView.
UnregisterDocumentsHostWindow Fires when a documents host window is closed and allows you to unsubscribe event handlers from its DocumentManager. Inherited from BaseView.
See Also