ComponentFactory.Krypton.Docking.KryptonDockableWorkspace.NewCellInitialize C# (CSharp) Method

NewCellInitialize() protected method

Initialize a new cell.
protected NewCellInitialize ( KryptonWorkspaceCell cell ) : void
cell KryptonWorkspaceCell Cell being added to the control.
return void
        protected override void NewCellInitialize(KryptonWorkspaceCell cell)
        {
            // Let base class perform event hooking and customizations
            base.NewCellInitialize(cell);

            // By default the new cell does not have focus and so should have standard looking tabs
            cell.Bar.TabStyle = TabStyle.StandardProfile;
            cell.CloseAction += new EventHandler<CloseActionEventArgs>(OnCellCloseAction);
        }