Reputation: 155
I recently downloaded Xamarin.Forms as Microsoft made it free. I am looking around in Visual Studio for a visual designer, that is usually included in Xamarin.Droid and Xamarin.IOS. Is there no such feature for Xamarin.Forms? Surely I must be missing something ?
Upvotes: 8
Views: 6339
Reputation: 17883
Xamarin does not have a designer for Xamarin.Forms at this time, but is working on the Xamarin.Forms Previewer which renders a live preview of a Xamarin.Forms page side-by-side with the XAML markup directly inside the Visual Studio and Xamarin Studio IDEs.
You can open the Xamarin.Forms Previewer by clicking on View -> Other Windows -> Xamarin.Forms Previewer
in the Visual Studio menu or alternatively just searching for Xamarin.Forms
in the Visual Studio quicklaunch box.
In addition to the official Xamarin.Forms Previewer, there is at least one other third party tool that exists in this space as well:
Update (2018): There is now also the Xamarin Live Player for Xamarin.Forms that allows you visualize your XAML layouts running live on a physical device as you are developing them.
Upvotes: 13
Reputation: 11
There are options to view your Xamarin
However all comes with limitation, if you're using third party controls than it may not be supported.
Upvotes: 1
Reputation: 1381
A Xamarin previewer (while not a designer, it is still VERY handy) is available in the latest version of Visual Studio. To access it go to View > Other Windows > Xamarin.Forms Previewer.
When you open a XAML page, you can see it in the previewer (make sure your project is built first or you will get an error.)
The preview will update automagically as you edit your XAML, no save is required. When working with lists etc, you will want to create some dummy data to ensure you can see how it will work. There is an example at https://xamarinhelp.com/xamarin-forms-previewer/
Upvotes: 1
Reputation: 199
You can find a "Design" named button under your source code. Click on it and you will be able to use drag and drop from the tool box on the left.
Upvotes: -1
Reputation: 89102
No, Xamarin Forms does not have a drag and drop design surface. There is a live XAML previewer, but it is still in alpha release.
Upvotes: 2