Skip to content

Instantly share code, notes, and snippets.

@haavamoa
Created June 13, 2019 07:37
Show Gist options
  • Save haavamoa/494bb5e7786ff341ce3d52982572d3dd to your computer and use it in GitHub Desktop.
Save haavamoa/494bb5e7786ff341ce3d52982572d3dd to your computer and use it in GitHub Desktop.
A design binding context Resharper Live Template. I use this for Xamarin to get intellisense when binding the binding context in code behind rather than in XAML.
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:dblend="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="dblend"
dblend:DataContext="{dblend:DesignInstance $CLASSNAME$}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment