Skip to content

MVVM (Prism), SKCanvasView and Canvas in Xamarin Forms. #1748

Answered by Surfrat
Surfrat asked this question in Q&A
Discussion options

You must be logged in to vote

Here is the solution:

XAML:

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:prism="http://prismlibrary.com"
             prism:ViewModelLocator.AutowireViewModel="True"  
             xmlns:button="clr-namespace:Syncfusion.XForms.Buttons;assembly=Syncfusion.Buttons.XForms"
             xmlns:skiaSharp="clr-namespace:SkiaSharp.Views.Forms;assembly=SkiaSharp.Views.Forms"
             xmlns:converters="clr-namespace:DressMe.Converters;assembly=DressMe"
             Title="Create"
             BackgroundColor="{StaticResource PageBackgroundColor}"
             x:Class="DressMe.Views.Create"
     …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Surfrat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant