title: Windows Template Studio MVVMLight accessing ViewModel from Details page
body: <p>I'm using Windows Template Studio V3.0 the create a UWP App using MVVMLight that implements a Master/Detail page. I'm sure I'm going to kick myself but I can't work out how to access the ViewModel from the Details page. I need to access a property on the View Model to set the Visibility of some XAML elements.</p>
  
  <p>In previous versions of the WTS I could use the Locator to access the ViewModel as follows:</p>
  
  <pre><code>&lt;TextBlock
      Margin="8"
      Text="{x:Bind MasterMenuItem.Name , Mode=OneWay}"
      Style="{StaticResource BodyTextBlockStyle}"
      Visibility="{Binding Source={StaticResource Locator}, Path=DriverDetailsViewModel.EditMode, Converter={StaticResource InverseBoolToVisibilityConverter}}" /&gt;
  </code></pre>
  
  <p>In V3 of WTS the implementation of the Locator has changed and does not appear to accessible as a Static Resource?</p>