locked
Open file dialog for wpf RRS feed

  • Question

  • Which open file dialog should be used for a wpf application

    that should run on xp, vista and 7?

    Monday, September 6, 2010 8:36 AM

Answers

  • WPF has it own OpenFileDialog in System.Win32.OpenFileDialog. So its better to use this dialog.

    You can also use System.Windows.Forms.OpenFileDialog in WPF if required. But for this you will have to add reference of System.Windows.Forms in your project.


    Gaurav Khanna
    • Marked as answer by marck68 Monday, September 6, 2010 11:35 AM
    Monday, September 6, 2010 9:24 AM

All replies