title: MVVM Cross WPF Region Implementation
body: <p>How do I realize with MVVM Cross and WPF this view presentation; a menu, tabs and content views? I can't find any actual example how to do that. Here is an outdated implementation <a href="https://github.com/ThallisonRhanniel/MvvmCross-Samples/tree/master/XPlatformMenus" rel="nofollow noreferrer">https://github.com/ThallisonRhanniel/MvvmCross-Samples/tree/master/XPlatformMenus</a> but I want to use MvvmCross(6.x)  and MvvmCross.Platforms.Wpf(6.x).</p>
  <p>MainWindow:</p>
  <pre><code>[MvxWindowPresentation(Identifier = nameof(MainWindow), Modal = false)]
  public partial class MainWindow : MvxWindow&lt;MainWindowViewModel&gt;
  </code></pre>
  <p>Menu:</p>
  <pre><code>[MvxContentPresentation(WindowIdentifier = nameof(MainWindow), StackNavigation = true)]
  [MvxRegion(&quot;MenuContent&quot;)]
  [MvxViewFor(typeof(MenuViewModel))]
  public partial class MenuView
  </code></pre>
  <p>tab bars:</p>
  <pre><code>[MvxContentPresentation(WindowIdentifier = nameof(MainWindow), StackNavigation = true)]
  [MvxRegion(&quot;PageContent&quot;)]
  [MvxViewFor(typeof(TabViewModel))]
  public partial class TabView
  </code></pre>
  <p>to use a region Attribute;</p>
  <pre><code>public class MvxRegionPresentationAttribute : MvxBasePresentationAttribute
  {
      public string RegionName { get; set; }
      public string WindowIdentifier { get; set; }
  }
  </code></pre>
  <p>Inside the MainWindow.xaml;</p>
  <pre><code>&lt;Frame x:Name=&quot;MenuContent&quot;
         Grid.Column=&quot;0&quot;
         NavigationUIVisibility=&quot;Hidden&quot;&gt;&lt;/Frame&gt;
  
  &lt;Frame x:Name=&quot;PageContent&quot;
         Grid.Column=&quot;1&quot;
         NavigationUIVisibility=&quot;Hidden&quot;&gt;&lt;/Frame&gt;
  </code></pre>
  <p>How do I implement Regions in MVVMCross 6.x?</p>