Tips for development - nicolas-garcia/HowToXamarin GitHub Wiki

Tips for development

How can I have IntelliSense on XAML code for binding properties ?

  1. You have to use Resharper IntelliSense: ReSharper > Options > IntelliSense > General ReSharper value should be selected.
  2. Add the following namespaces in your XAML:
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
  1. Declare your View Model as a namespace: xmlns:viewModels="clr-namespace:NeovigieApp.ViewModels;assembly=NeovigieApp"
  2. After x:Class declaration, add a new line (within the container attribute), and add d:DataContext="{d:DesignInstance viewModels:MainPageViewModel}"

Now you have IntelliSense in XAML.