No XAML UI designing tool in VS 2017? - visual-studio

Can't get XAML files open in any UI designer. Any choice makes them open in a text editor. XAML designer flag is enabled in options. Couldnt find any helpful answer on this. What am I doing wrong?

Xamarin.Forms doesn't have a designer, you have to write XAML on your own and use Previewer Tools (Xamarin Hotreload, LiveXAML, XAMLator) to preview the XAML changes you do until you think the UI looks good.

Related

Intellisense Xamarin Forms does not work - Visual Studio Enterprise with Update 3

I installed VS with Xamarin but Intellisense in XAML files is not working properly. In some parts of the code it shows the list of suggestions as shown below.
Except in other parts of the code it does not show the list with all the items (image below).
It is also opening the XAML with the XML Editor, but should it not be with XAML Designer?
Does anyone have any suggestions for resolving or circumventing this problem?
Thank you all.
Those 2 behaviors that you described are by design, you can look at the following screenshot, since you type “<” inside and outside the node , the auto complete member list is different which defined in the XML Schemas.
For the second question, Xamarin.Forms doesn't currently support visual designers for XAML files. There is not yet a visual designer for generating XAML in Xamarin.Forms applications, so all XAML must be hand-written. We can know this from Why doesn't the Visual Studio XAML designer work for Xamarin.Forms XAML files?, but we can try to use the XAML Previewer for Xamarin.Forms to help us to preview the UI.

how to view the design of xaml file in xamarin forms pcl in visula studio?

Now i am going on with the development of xamarin forms pcl project,i have created a xaml file in my portable lib there i can't view the design.
Tried to fix it by the following link:
https://msdn.microsoft.com/en-us/library/hh921077.aspx
http://blog.spinthemoose.com/2013/03/24/disable-the-xaml-designer-in-visual-studio/
How can i solve this issue.
There are no designer support from Xamarin, as it would be bit of complicated, but you might find Xamarin Forms Player a good tool to go,
https://visualstudiogallery.msdn.microsoft.com/4ed9794a-2021-486a-9bca-4851c7ee7316
Visual Studio's XAML Designer currently does not support Xamarin XAML files.There's no designer for it atm.
Even though their syntax are very similiar , there are some slight differences between them.

Are there real axml editors or tools when working in Xamarin on MVVMCross projects?

I noticed it's almost impossible to edit axml using the GUI in Xamarin when working on MVVMCross projects.
Is axml known enough for an good editor to exist?
AXML is in reality just XML. I think the ending is there only because of the editor Xamarin has, in order for it to know when to open. AXML content is exactly the same as Android XML layout files. But you are right, custom Views are not rendered in the Xamarin layout editor, which the one in Android Studio does.
I am not sure what the future plans for the Xamarin AXML editor are, but you could voice your concerns and suggestions on UserVoice.

Optimal XAML editing with Visual Studio 2010

I've recently started developing Silverlight applications in Visual Studio and noticed that the XAML editor there is not optimal. Meaning, I can see the XAML in a text editor with pretty colors, but other than that it doesnt give me much productivity, like C# code, with all the list of methods and parameters in a drop down list and other helpfule views and windows. Is there really not much support in VS2010 for easier editing of XAML files?
u can try to use something like ReSharper

How can I programmatically refresh Visual Studio WPF designers?

Is it possible to programmatically refresh WPF designer windows in Visual Studio e.g. using DTE?
I have some design-time behaviour where I would like to refresh WPF designer windows after file system changes I have detected.
I have tried:
dte.ItemOperations.OpenFile(file) //where file is a xaml file
but this has no effect.
Update
I am looking for a solution where I do not close and then re-open the xaml file, as this is too heavy-handed. I'm looking for a way of getting WPF designers to reload\refresh as they do when the solution is rebuilt.
The best that i can think of is
dte.ActiveDocument.Close(vsSaveChanges.vsSaveChangesNo);
dte.ItemOperations.OpenFile(FileName);

Resources