# ManagedFileDialogExtensions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dialogs/trait-managedfiledialogextensions/

**trait** · [`ferroui-dialogs`](/docs/0.5.0/api/ferroui-dialogs/) · v0.5.0

```rust
trait ManagedFileDialogExtensions
```

The managed dialogs extension of the application builder: replaces the
file pickers of the platform with the managed file chooser.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Dialogs/managed_file_dialog_extensions.rs#L28)

## Members

- [`use_managed_system_dialogs`](#function-use_managed_system_dialogs)
- [`use_managed_system_dialogs_with`](#function-use_managed_system_dialogs_with)

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

### use_managed_system_dialogs

```rust
fn use_managed_system_dialogs(self: &Self) -> AppBuilder
```

Uses the managed file chooser for the file and folder pickers of
every top level, shown in a window (or in a popup over the content
of a top level that is not a window).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Dialogs/managed_file_dialog_extensions.rs#L32)

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

### use_managed_system_dialogs_with

```rust
fn use_managed_system_dialogs_with<TWindow: DefaultConstructible + Upcast<Window>>(self: &Self) -> AppBuilder
```

Uses the managed file chooser for the file and folder pickers of
every top level, shown in a new `TWindow`.

The bounds state the `Window, new()` constraints of the original: the
window class declares a default constructor (`new` of
`ferro_class_info!`), which is reached through the class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Dialogs/managed_file_dialog_extensions.rs#L40)

## Trait implementations

- [`ManagedFileDialogExtensions`](/docs/0.5.0/api/ferroui-dialogs/trait-managedfiledialogextensions/)

## Availability

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