When i use XAML designer it is so hard and slow to move into the designer and out of it, visual studio stuck for a while when i do that, is there any way to boost up XAML designer and editor?
Ant it is very slow when saving XAML files!
To open the XAML Designer, right-click a XAML file in Solution Explorer and choose View Designer. to switch which window appears on top: either the artboard or the XAML editor.
And that's where we are right now. The go to choice for Windows desktop applications is WPF. The majority of Windows Phone and Windows Store applications are built with XAML and C#, even more so for business applications. And to top it off, we can now build applications for iOS and Android using XAML and C#.
That usually means that you might have complex UI, maybe time to break it down into smaller components?
I usually turn off showing XAML View by default:
Tools > Options > TextEditor > XAML > Misc
I think the problem in VS2010 when you save the XAML file there a is partial class same name with XAML class generating.
We can see this class easily by clickin InitializeComponents() as you know. But Expression Blend doesn't generate these Class.g.s... files immediately .
I hope In Visual Studio's later versions these will be fixed.
It's similar in Android Development Platform Eclipse there is a "R.class" holds all visual element ids. When you save any xml layout file this class get an update.
These new development approaches has some bad effects for developers I think. There must be option such as Ctrl+G+Save ? save and generate :)
If you change any XAML and not save when you click another XAML or CS (unfocus anyway) this slowly behavior still exist.
Beside this if you just save UI without generating , dev.environment can't notify you about existing errors and warnings.
Finally It steals too much time from developers. ,
Need to be solved.
I was preparing to ask this question I see it here.Thanks for asking.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With