locked
How to make FileOpenPicker.PickMultipleFilesAsync() allow select multiple files with ctr+shift?

Answers

  • You can't control the picker's behavior.

    Within your app you can set selector controls to use extended selection

    Sunday, May 25, 2014 4:20 AM
    Owner
  • You can't replace the picker for general use. It runs outside of your process to allow access to parts of the file system that your app doesn't have permissions for.

    Items controls such as the ListView have built-in range selection functionality. Set the SelectionMode to Multiple or Extended depending on the exact behavior you want. You can use this to build your own picker for items within your app or in libraries.

    --Rob

    Tuesday, May 27, 2014 10:36 PM
    Owner

All replies

  • You can't control the picker's behavior.

    Within your app you can set selector controls to use extended selection

    Sunday, May 25, 2014 4:20 AM
    Owner
  • Thanks for the clarification, Rob.

    Did you mean using controls like ListView to replace the picker?  Do these controls have built-in range selection functionality or such function has to be coded?   Could you offer a tip on the best way to select a large number (>50) of files?


    Hong


    Sunday, May 25, 2014 10:06 AM
  • You can't replace the picker for general use. It runs outside of your process to allow access to parts of the file system that your app doesn't have permissions for.

    Items controls such as the ListView have built-in range selection functionality. Set the SelectionMode to Multiple or Extended depending on the exact behavior you want. You can use this to build your own picker for items within your app or in libraries.

    --Rob

    Tuesday, May 27, 2014 10:36 PM
    Owner
  • Thanks for the tips, Rob.  There seems to no way to have a control or page allowing range selection except for a few folders (e.g. Pictures Library, Video Library) due to the permission restriction. 

    Hong

    Wednesday, May 28, 2014 11:49 AM