Tips for development - nicolas-garcia/HowToXamarin GitHub Wiki
Tips for development
How can I have IntelliSense on XAML code for binding properties ?
- You have to use Resharper IntelliSense:
ReSharper > Options > IntelliSense > GeneralReSharpervalue should be selected. - 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"
- Declare your View Model as a namespace:
xmlns:viewModels="clr-namespace:NeovigieApp.ViewModels;assembly=NeovigieApp" - After
x:Classdeclaration, add a new line (within the container attribute), and addd:DataContext="{d:DesignInstance viewModels:MainPageViewModel}"
Now you have IntelliSense in XAML.