ComponentFactory.Krypton.Docking.KryptonDockingFloatspace.RaiseSpacePageDrop C# (CSharp) Метод

RaiseSpacePageDrop() защищенный Метод

Occurs when a page is dropped on the control.
protected RaiseSpacePageDrop ( object sender, PageDropEventArgs e ) : void
sender object Source of the event.
e ComponentFactory.Krypton.Navigator.PageDropEventArgs A PageDropEventArgs containing the event data.
Результат void
        protected override void RaiseSpacePageDrop(object sender, PageDropEventArgs e)
        {
            // Use event to indicate the page is moving to a workspace and allow it to be cancelled
            KryptonDockingManager dockingManager = DockingManager;
            if (dockingManager != null)
            {
                CancelUniqueNameEventArgs args = new CancelUniqueNameEventArgs(e.Page.UniqueName, false);
                dockingManager.RaisePageFloatingRequest(args);

                // Pass back the result of the event
                e.Cancel = args.Cancel;
            }
        }