Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Unfortunately, there may not be a good answer depending on exactly what you want to do. Your question is a little vague as to exactly what you are trying to do. Are you trying to simply extend the existing designer within Visual Studio, or are you trying to host the WPF designer in your own separate application?</p> <p>If the latter, you may unfortunately not be able to do that. The WinForms designer was actually part of the .NET Framework (not Visual Studio) and so was accessible to any application that provided the correct hosting environment. There is <a href="http://msdn.microsoft.com/en-us/magazine/cc163634.aspx" rel="nofollow noreferrer">a good article on MSDN on how to do that here</a>, and <a href="http://www.divil.co.uk/net/articles/designers/hosting.asp" rel="nofollow noreferrer">another one on from DivElements here</a>.</p> <p>Many people have asked in other forums whether the same is possible using Cider (the code name for the WPF designer), and <a href="http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/7d5de52f-c8f2-4c2f-8669-d0358efe3e4e" rel="nofollow noreferrer">it seems like the answer is no</a>. Your only potential alternative is to redesign your application to make use of the <a href="http://msdn.microsoft.com/en-us/library/bb685612.aspx" rel="nofollow noreferrer">Visual Studio Isolated Shell</a>. There is a <a href="http://msdn.microsoft.com/en-us/vstudio/bb933751.aspx" rel="nofollow noreferrer">good overview of the options here</a>.</p> <p><strong>EDIT:</strong> It looks like SharpDevelop may have a WPF designer you can use. I'm not 100% sure if they developed their own, or if they figured out a way to host it, but you can look at their source and decide for yourself. Go to the <a href="http://build.sharpdevelop.net/buildartefacts/" rel="nofollow noreferrer">Daily Builds of Sharp Develop</a> (it's <em>not</em> in the official build yet) and get the latest daily build. In that zip file, look at the Samples/XamlDesigner directory.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload