Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft.Windows.Shell Namespace equivalent in .Net 4.5

Tags:

c#

.net

wpf

ribbon

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?

like image 378
noway Avatar asked Feb 20 '23 07:02

noway


1 Answers

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.

like image 56
Reed Copsey Avatar answered Mar 03 '23 07:03

Reed Copsey