# Selecting Multiple Files

## Content



**FilePicker for WPF** allows users to select multiple files at run time, though this option is not selected by default. At run time, users can only select one file at a time by default – you can allow users to select multiple files by setting the [Multiselect](/componentone/api/wpf/online-input-net/dotnet-api/C1.WPF.Input/C1.WPF.Input.C1FilePicker.Multiselect.html) property to True, for example see the steps below.

### In XAML

To set the **Multiselect** property add Multiselect="True" to the <c1:C1FilePicker> tag so that it appears similar to the following:

```xml
<c1:C1FilePicker Name="C1FilePicker1" Multiselect="True" HorizontalAlignment="Left" Margin="112,36,0,0" VerticalAlignment="Top" Width="161"/>
```

### In Code

To set the Multiselect property, add the following code to your project:

```vbnet
Me.C1FilePicker1.Multiselect = True
```

```csharp
this.c1FilePicker1.Multiselect = true;.
```

### At Design Time

To set the Multiselect property at design time, complete the following steps:

1.  Click the **C1FilePicker** control once to select it.
2.  Navigate to the Properties window and locate the Multiselect item.
3.  Check the check box next to the Multiselect item.

This will set the Multiselect property to allow users to select multiple files at run time in the OpenFileDialog dialog box.