JumpyNET Posted January 19, 2013 Posted January 19, 2013 I am trying to study WPF and was wondering if it is possible to examine the XAML or "source code" behind the "native" elements such as Label. PS: I am using Visual Studio Professional 2012. Quote
Administrators PlausiblyDamp Posted January 20, 2013 Administrators Posted January 20, 2013 Expression blend will allow you to edit a copy of a control's template - right click on it and there should be an option to "Edit Template" - if you select copy you will get the XAML for the control template. That would allow you to see how the UI part of the control is built. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
JumpyNET Posted January 20, 2013 Author Posted January 20, 2013 Seeing just the UI part was not quite the thing I had in mind. The idea was that studying the whole code could be good for learning XAML. I just found this free tool called ILSpy, which is able to show the VB code behind System.Windows.Controls.Label. I just don't know how to find the XAML "equivalent". Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.