title: Panels in WPF and Winform
body: <p>I have some experience in making Winform applications, but not in WPF.</p>
  
  <p>My questions is about panels in WPF.</p>
  
  <p>In Winform, say, I have two panels: PanelA and PanelB. I can place PanelB on top of PanelA by setting PanelB to visible and PanelA to hidden. By doing so, all the controls on PanelA are disabled, which means the controls are not visible to users and cannot be selected by hitting TAB.</p>
  
  <p>However, in WPF, I cannot find an equivalent control to achieve the same effect. I have tried Rectangle, but the controls on the underneath Rectangle can still be selected if the users hit TAB.</p>
  
  <p>I want something that can not only visually block the controls(buttons, etc.), but also preventing the users from selecting them by hitting TAB. </p>
  
  <p>I know there is a way to do it by setting the IsEnabled property to false in WPF in order to disable the controls. But is there an easier way? Like the Panel control in Winform?</p>