ComponentFactory.Krypton.Docking.KryptonDockingWorkspace.RaiseCellAdding C# (CSharp) Method

RaiseCellAdding() protected method

Raises the type specific cell adding event determinated by the derived class.
protected RaiseCellAdding ( KryptonWorkspaceCell cell ) : void
cell KryptonWorkspaceCell Referecence to new cell being added.
return void
        protected override void RaiseCellAdding(KryptonWorkspaceCell cell)
        {
            // Generate event so the dockable workspace cell customization can be performed.
            KryptonDockingManager dockingManager = DockingManager;
            if (dockingManager != null)
            {
                DockableWorkspaceCellEventArgs args = new DockableWorkspaceCellEventArgs(DockableWorkspaceControl, this, cell);
                dockingManager.RaiseDockableWorkspaceCellAdding(args);
            }
        }