views:

1431

answers:

4

The explorer control in Windows Vista is very handy and I would like to be able to incorporate it in an application written in WPF. I've been unable to find a stock control that is part of the Framework. This application is being specifically developed for Windows Vista and therefore, having the same look and feel as the OS is desirable.

One could use the Microsoft.Win32.OpenFileDialog, but the problem with that is that it looks nothing like Vista's so it sticks out like a sore thumb.

Any thoughts on a good implementation would be most helpful. I would like to stay away from Third Party components if possible, but am definitely open to all suggestions.

+3  A: 

Actipro makes a really good WPF breadcrumb control. There's also an open source WPF breadcrumb control that I might actually give a try.

Robert S.
+2  A: 

I haven't yet tried it but look at VistaBridge... It gives you all the Vista look dialog boxes!

rudigrobler
Looks like the VistaBridge code has been updated. This approach works for me. It's a little messy, but seems to be a nice transition into what Win7 might provide. http://code.msdn.microsoft.com/VistaBridge
Scott Saad
At the moment, VistaBridge is best choice comaparing to others!
Nam Gi VU
+1  A: 

There is a replacement for the Microsoft.Win32 file dialogs on my blog that gives you the Vista look without the complexity of VistaBridge and is also backward compatible with XP.

http://www.nbdtech.com/blog/archive/2008/07/15/Vista-style-open-and-save-dialogs-with-WPF-without-using.aspx

Nir
A: 

If you are coding for the .net Framework 3.5, calling for the common dialog should display the correct Vista era dialog.


Sorry, appears I was mistaken. In previous projects, I was using this library to call the Vista dialogs.

Nidonocu
Have you tried it? The control displayed is an XP looking control.
Scott Saad
I just did and I forgot I used a library last time I needed these. Updated answer.
Nidonocu