Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Collapse]Docking and Popups
   [Collapse]Docking
     Overview - Docking
    [Collapse]Concepts
      Panel Overview
      Forbidden Zones
      Common Docking Events
      Layout Management
    [Expand]Visual Elements
   [Expand]Hint
   [Expand]Loading Panel
   [Expand]PopupControl
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Charts
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
  [Expand]SpellChecker
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Common Docking Events

All extensions included in the DevExpress MVC Docking suite (i.e. DockPanelExtension, DockZoneExtension and DockManagerExtension) provide advanced client-side event support that gives you the ability to completely control the behavior of dock panels and zones.

The most typical end-user actions (such as dragging and docking) invoke common events of all the key elements of the panel docking functionality.

  • StartDragging and EndDragging events, specific to DockPanel (StartPanelDragging and EndPanelDragging specific to DockManager), allow you to respond to the corresponding end-user actions performed on a panel.
  • BeforeDock and AfterDock events are common for DockPanel, DockZone and DockManager. They fire before and after a panel is docked to a zone, allowing you to cancel panel docking if required.
  • BeforeFloat and AfterFloat events are common for DockPanel and DockManager. They fire before and after a panel is undocked from a zone, allowing you to cancel the action if required.

The table below lists available client-side common docking events.

The image below demonstrates the sequence of events invoked when an end-user drags and docks a panel.

Expanded See Also

How would you rate this topic?​​​​​​​