Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kellabyte/1524443 to your computer and use it in GitHub Desktop.
Save kellabyte/1524443 to your computer and use it in GitHub Desktop.
<phone:PhoneApplicationPage
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:kellafeed.ViewModels">
<phone:PhoneApplicationPage.Resources>
<vm:MainViewModelFactory x:Key="MainViewModelFactgoryDataSource"
d:IsDataSource="True"/>
</phone:PhoneApplicationPage.Resources>
<phone:PhoneApplicationPage.DataContext>
<Binding Mode="OneWay"
Path="ViewModel"
Source="{StaticResource MainViewModelFactgoryDataSource}"/>
</phone:PhoneApplicationPage.DataContext>
<-- XAML visuals... -->
</phone:PhoneApplicationPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment