noway
noway

Reputation: 2585

Microsoft.Windows.Shell Namespace equivalent in .Net 4.5

I am evaluating the code named Prism 4 MEF Application It is a .Net 4.0 application and has a reference to Microsoft.Windows.Shell Namespace which is available if you install Microsoft Ribbon for WPF control.

However, I am working on .Net 4.5 framework, the ribbon control is somehow added to the framework, I can use it with a reference to DLL and with System.Windows.Controls.Ribbon namespace not Microsoft.Windows.Controls.Ribbon

Is there any equivalent control in .net 4.5 and how can I reference it?

Upvotes: 4

Views: 5843

Answers (1)

Reed Copsey
Reed Copsey

Reputation: 564433

In .NET 4.5, many of these items are in the System.Windows.Shell namespace, but now live directly in the PresentationFramework.dll assembly. This can be seen, for example, in the JumpItem class documentation.

If you're working in WPF in .NET 4.5, you should be able to use your existing code without adding the extra reference.

Upvotes: 9

Related Questions