Event arguments for a DockableWorkspaceRemoved event.
Inheritance: System.EventArgs
        /// <summary>
        /// Raises the type specific space control removed event determined by the derived class.
        /// </summary>
        protected override void RaiseRemoved()
        {
            // Generate event so the any dockable workspace customization can be reversed.
            KryptonDockingManager dockingManager = DockingManager;

            if (dockingManager != null)
            {
                DockableWorkspaceEventArgs args = new DockableWorkspaceEventArgs(DockableWorkspaceControl, this);
                dockingManager.RaiseDockableWorkspaceRemoved(args);
            }
        }
Example #2
0
 /// <summary>
 /// Raises the DockableWorkspaceRemoved event.
 /// </summary>
 /// <param name="e">An DockableWorkspaceEventArgs containing the event args.</param>
 protected virtual void OnDockableWorkspaceRemoved(DockableWorkspaceEventArgs e)
 {
     if (DockableWorkspaceRemoved != null)
         DockableWorkspaceRemoved(this, e);
 }
 /// <summary>
 /// Raises the type specific space control removed event determinated by the derived class.
 /// </summary>
 protected override void RaiseRemoved()
 {
     // Generate event so the any dockable workspace customization can be reversed.
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
     {
         DockableWorkspaceEventArgs args = new DockableWorkspaceEventArgs(DockableWorkspaceControl, this);
         dockingManager.RaiseDockableWorkspaceRemoved(args);
     }
 }
Example #4
0
 internal void RaiseDockableWorkspaceRemoved(DockableWorkspaceEventArgs e)
 {
     OnDockableWorkspaceRemoved(e);
 }