Skip to content

Instantly share code, notes, and snippets.

@StefanRiedmann
Created September 6, 2017 20:49
Show Gist options
  • Save StefanRiedmann/d3a61b84c208389b1673427803140134 to your computer and use it in GitHub Desktop.
Save StefanRiedmann/d3a61b84c208389b1673427803140134 to your computer and use it in GitHub Desktop.
static bindingcontext for design time
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="CicloConnect.Frontend.Views.SettingsPage"
xmlns:mvvm="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
xmlns:vm="clr-namespace:CicloConnect.Frontend.ViewModels;"
BindingContext="{Binding Source={x:Static vm:DesignTimeViewModels.SettingsDummyViewModel}}
Title="Settings">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment