Occurs whenever a Floating Documents Container starts docking to this BaseView.
public event DocumentCancelEventHandler BeginDocumentsHostDocking
Public Event BeginDocumentsHostDocking As DocumentCancelEventHandler
The BeginDocumentsHostDocking event's data class is DocumentCancelEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|Document||The Document related to the current event.|
If the BaseView.FloatingDocumentContainer property equals DocumentsHost, tabbed Documents can be undocked from their parent View and docked to Floating Document Containers. These Containers with all their child Documents can be dragged back into the View. When this happens, the BeginDocumentsHostDocking event occurs. To cancel Floating Document Container docking, handle this event and set the e.Cancel property to true. If the BeginDocumentsHostDocking event was not canceled, the BaseView.EndDocumentsHostDocking event is raised afterwards.