Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

  • Administrators
Posted
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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...