Event arguments for a DockableWorkspaceCellAdding/DockableWorkspaceCellRemoving events.
Inheritance: System.EventArgs
        /// <summary>
        /// Raises the type specific cell removed event determined by the derived class.
        /// </summary>
        /// <param name="cell">Reference to an existing cell being removed.</param>
        protected override void RaiseCellRemoved(KryptonWorkspaceCell cell)
        {
            // Generate event so the dockable workspace cell customization can be reversed.
            KryptonDockingManager dockingManager = DockingManager;

            if (dockingManager != null)
            {
                DockableWorkspaceCellEventArgs args = new DockableWorkspaceCellEventArgs(DockableWorkspaceControl, this, cell);
                dockingManager.RaiseDockableWorkspaceCellRemoved(args);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the type specific cell removed event determinated by the derived class.
 /// </summary>
 /// <param name="cell">Referecence to an existing cell being removed.</param>
 protected override void RaiseCellRemoved(KryptonWorkspaceCell cell)
 {
     // Generate event so the dockable workspace cell customization can be reversed.
     KryptonDockingManager dockingManager = DockingManager;
     if (dockingManager != null)
     {
         DockableWorkspaceCellEventArgs args = new DockableWorkspaceCellEventArgs(DockableWorkspaceControl, this, cell);
         dockingManager.RaiseDockableWorkspaceCellRemoved(args);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Raises the DockableWorkspaceCellRemoved event.
 /// </summary>
 /// <param name="e">An DockableWorkspaceCellEventArgs containing the event args.</param>
 protected virtual void OnDockableWorkspaceCellRemoved(DockableWorkspaceCellEventArgs e)
 {
     if (DockableWorkspaceCellRemoved != null)
         DockableWorkspaceCellRemoved(this, e);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Raises the DockableWorkspaceCellAdding event.
 /// </summary>
 /// <param name="e">An DockableWorkspaceCellEventArgs containing the event args.</param>
 protected virtual void OnDockableWorkspaceCellAdding(DockableWorkspaceCellEventArgs e)
 {
     if (DockableWorkspaceCellAdding != null)
         DockableWorkspaceCellAdding(this, e);
 }
Exemplo n.º 5
0
 internal void RaiseDockableWorkspaceCellRemoved(DockableWorkspaceCellEventArgs e)
 {
     OnDockableWorkspaceCellRemoved(e);
 }
Exemplo n.º 6
0
 internal void RaiseDockableWorkspaceCellAdding(DockableWorkspaceCellEventArgs e)
 {
     OnDockableWorkspaceCellAdding(e);
 }