henda79
henda79

Reputation: 535

Can't edit XAML designer in Visual Studio 2019

I'm just starting out with developing my first Android Mobile app with Visual Studio 2019 and Xamarin Forms.

I've created a demo project using Xamarin.Forms and the Master-Detail template, however when I load the designer for the Views\AboutPage.xaml, it appears to be read only.

I can not select any of the controls already on the form nor can I drag new controls on to it.

I've tried searching various keywords for this issue on google but I'm not too sure what I'm looking for. Is this by design, does something else need to be done ?

Any pointers in the right direction would be great.

Upvotes: 2

Views: 3407

Answers (2)

henda79
henda79

Reputation: 535

Well it turns out the "designer" is actually only a preview of the XAML code which has to be created by hand. Coming from a Windows Forms background, I'm going to find that very tedious... oh well.

Upvotes: 2

Marcel Callo
Marcel Callo

Reputation: 437

Can you check if your XAML Designer is enabled? Set Enable XAML Designer check box under Tools -> Options -> XAML Designer -> General. Then check the checkbox Enable XAML Designer. You'll have to restart Visual Studio.

Upvotes: 0

Related Questions