# FolderPickerEventArgs

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions/struct-folderpickereventargs/

**struct** · [`ferroui-xaml-interactions`](/docs/0.5.0/api/ferroui-xaml-interactions/) · v0.5.0

```rust
struct FolderPickerEventArgs
```

Event args raised after a folder pick operation completes.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions/storage_provider/core/folder_picker_event_args.rs#L8)

## Members

- [`new`](#function-new)
- [`folders`](#function-folders)
- [`handled`](#function-handled)
- [`set_handled`](#function-set_handled)

<a id="function-new"></a>

### new

```rust
fn new(folders: Vec<StorageFolderRef>) -> Self
```

Initializes a new instance with the collection of folders returned by the picker.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions/storage_provider/core/folder_picker_event_args.rs#L15)

<a id="function-folders"></a>

### folders

```rust
fn folders(self: &Self) -> &[StorageFolderRef]
```

Gets the collection of folders returned by the picker.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions/storage_provider/core/folder_picker_event_args.rs#L20)

<a id="function-handled"></a>

### handled

```rust
fn handled(self: &Self) -> bool
```

Gets or sets a value indicating whether the pick operation has been handled.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions/storage_provider/core/folder_picker_event_args.rs#L25)

<a id="function-set_handled"></a>

### set_handled

```rust
fn set_handled(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions/storage_provider/core/folder_picker_event_args.rs#L29)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Debug`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
