locked
How to set max number of files allowed to open in FileOpenPicker

    Question

  • Hi,

    I am using Windows::Storage::Pickers::FileOpenPicker. Is there a way to set the max number of files that are allowed to open through FileOpenPicker?

    Thanks

    Saturday, July 28, 2012 7:30 AM

Answers

  • There is no way to set a maximum. You can request either a single file or multiple files, but cannot control how many multiple is. What is the scenario where you need this?

    --Rob

    Sunday, July 29, 2012 4:16 AM
    Owner

All replies

  • There is no way to set a maximum. You can request either a single file or multiple files, but cannot control how many multiple is. What is the scenario where you need this?

    --Rob

    Sunday, July 29, 2012 4:16 AM
    Owner
  • Thanks Rob. I am trying to prevent user from selecting too many files that app can handle at a time. Now that control doesn't have the built-in function, it looks like app needs some UI to remind user and handle too many files being selected (or switch to single file selection mode)


    Fan

    Sunday, July 29, 2012 6:37 AM