This line turn off the default options into Xamarin form to make all button text Upper Case.
<item name="android:textAllCaps">false</item>
This line of code enable CollectionView usage into Xamarin Forms application since the feature it is not 100% released.
Forms.SetFlags("CollectionView_Experimental");
First of all you need to bring the design namespace on your xaml.
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Then your can set the proper ViewModel for you page
<d:ContentPage.BindingContext>
<viewmodels:CustomViewModel />
</d:ContentPage.BindingContext>
Now enjoy the Intellisense!
Hello there. Do you happen to use the Visual Studio for Mac? I cannot get it up and running on the latest version of VS 2019 professional.
This is the syntax I am using (with the latest viewmodels i got intellisense errors)
<?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:local="clr-namespace:Xamarin.ToDoPrototype" x:Class="Xamarin.ToDoPrototype.Views.TaskView" xmlns:viewModel="clr-namespace:Xamarin.ToDoPrototype.ViewModels;assembly=Xamarin.ToDoPrototype" Title="New To Do Task"> <d:ContentPage.BindingContext> <viewModel:TaskEditViewModel /> </d:ContentPage.BindingContext>
It works on the first navigation. Afterwards it stops. Any tip?