Search code examples
wpfvb.netcontrolsopenfiledialogmulti-select

OpenFileDialog for selecting more than 1 file with WPF


How can I implement an openfiledialog, which is able to do multiselecting? Do I need an extra libraray or is it also possible with the WPF-Control OpenFileDialog?


Solution

  • I think there is a property of OpenFileDialog which is MultiSelect.

    So you may do this.

    OpenFileDialog dlg = new OpenFileDialog(); dlg.MultiSelect = true; dlg.Show();