WeifenLuo.WinFormsUI.Docking.DockContent.Activate C# (CSharp) Method

Activate() public method

public Activate ( ) : void
return void
        public new void Activate()
        {
            DockHandler.Activate();
        }

Usage Example

Example #1
0
 public static void ActivateDockContentPopupAutoHidden(DockContent form, Boolean keepAutoHidden = true)
 {
     if (DockHelper.IsDockStateAutoHide(form.DockState))
     {
         if (keepAutoHidden)
         {
             // will fold back to the button after a delay; what for do you need to set Active then???
             //form.DockPanel.ActiveAutoHideContent = form;
         }
         else
         {
             // will stay open because we change DockRightAutoHidde -> DockRight
             DockHelper.ToggleAutoHide(form);
         }
     }
     form.Activate();
 }
All Usage Examples Of WeifenLuo.WinFormsUI.Docking.DockContent::Activate