title: DockPanelSuite's DockState and AutoHide
body: <p>Working with DockState and AutoHide, I am looking for the following things:</p>
  
  <ol>
  <li>Find out if the DockContent is in AutoHide mode</li>
  <li>Ability to toggle between 'regular' and AutoHide mode.</li>
  <li>Trigger an event when an AutoHide dock has come into view.</li>
  <li>Trigger an event when an AutoHide dock has 'left' and is now docked back into it's tab.</li>
  </ol>
  
  <p>Answer Wiki:</p>
  
  <ol>
  <li><p>IsAutoHide - get:</p>
  
  <pre><code>private WeifenLuo.WinFormsUI.Docking.DockState[] AutoHideStates = new WeifenLuo.WinFormsUI.Docking.DockState[] {
      WeifenLuo.WinFormsUI.Docking.DockState.DockBottomAutoHide,
      WeifenLuo.WinFormsUI.Docking.DockState.DockLeftAutoHide,
      WeifenLuo.WinFormsUI.Docking.DockState.DockRightAutoHide,
      WeifenLuo.WinFormsUI.Docking.DockState.DockTopAutoHide };
  
  public bool IsAutoHide { get { return AutoHideStates.Contains(DockContent.DockState); } }
  </code></pre></li>
  <li><p>IsAutoHide - set:
  No code yet - basically iterate through the modes or use a dictionary of interchangable modes (i.e. DockBottomAutoHide to DockBottom)</p></li>
  <li><p>I have no idea, but <a href="https://stackoverflow.com/questions/12956147/dockpanel-suite-dockcontent-visibility">this</a> looks interesting, might have the idea.</p></li>
  <li>I have no idea.</li>
  </ol>