FileOpenPickerUI.SelectionMode Property

Definition

Gets an enumeration value that indicates whether the file picker currently limits selection to single files, or if multiple files can be selected.

public:
 property FileSelectionMode SelectionMode { FileSelectionMode get(); };
FileSelectionMode SelectionMode();
public FileSelectionMode SelectionMode { get; }
var fileSelectionMode = fileOpenPickerUI.selectionMode;
Public ReadOnly Property SelectionMode As FileSelectionMode

Property Value

The enumeration value that indicates the current selection mode.

Remarks

You can use this information to alter your app's file picker view according to the current FileSelectionMode.

Applies to

See also