ComponentFactory.Krypton.Docking.KryptonDockingManager.OnDropDownDockedClicked C# (CSharp) Method

OnDropDownDockedClicked() private method

private OnDropDownDockedClicked ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void OnDropDownDockedClicked(object sender, EventArgs e)
        {
            KryptonContextMenuItem dockedItem = (KryptonContextMenuItem)sender;
            string uniqueName = (string)dockedItem.Tag;

            // Action depends on the current location
            switch (FindPageLocation(uniqueName))
            {
                case DockingLocation.None:
                case DockingLocation.AutoHidden:
                case DockingLocation.Floating:
                case DockingLocation.Navigator:
                case DockingLocation.Workspace:
                    MakeDockedRequest(uniqueName);
                    break;
                case DockingLocation.Docked:
                    // Nothing to do, already docked
                    break;
            }
        }
KryptonDockingManager