/// <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 dockspace cell customization can be reversed. KryptonDockingManager dockingManager = DockingManager; if (dockingManager != null) { DockspaceCellEventArgs args = new DockspaceCellEventArgs(DockspaceControl, this, cell); dockingManager.RaiseDockspaceCellRemoved(args); } }
/// <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 dockspace cell customization can be reversed. KryptonDockingManager dockingManager = DockingManager; if (dockingManager != null) { DockspaceCellEventArgs args = new DockspaceCellEventArgs(DockspaceControl, this, cell); dockingManager.RaiseDockspaceCellRemoved(args); } }
/// <summary> /// Raises the DockspaceCellRemoved event. /// </summary> /// <param name="e">An DockspaceCellEventArgs containing the event args.</param> protected virtual void OnDockspaceCellRemoved(DockspaceCellEventArgs e) { if (DockspaceCellRemoved != null) DockspaceCellRemoved(this, e); }
/// <summary> /// Raises the DockspaceCellAdding event. /// </summary> /// <param name="e">An DockspaceCellEventArgs containing the event args.</param> protected virtual void OnDockspaceCellAdding(DockspaceCellEventArgs e) { if (DockspaceCellAdding != null) DockspaceCellAdding(this, e); }
internal void RaiseDockspaceCellRemoved(DockspaceCellEventArgs e) { OnDockspaceCellRemoved(e); }
internal void RaiseDockspaceCellAdding(DockspaceCellEventArgs e) { OnDockspaceCellAdding(e); }
private void kryptonDockingManager_DockspaceCellAdding(object sender, DockspaceCellEventArgs e) { Console.WriteLine("DockspaceCellAdding"); // Set the correct appearance of the dockspace cell based on current settings UpdateCell(e.CellControl); }