# SplitViewProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-splitviewprops/

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

```rust
trait SplitViewProps: ElementBuilder
```

The properties and routed events of `SplitView`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7899)

## Members

- [`compact_pane_length`](#function-compact_pane_length)
- [`display_mode`](#function-display_mode)
- [`is_pane_open`](#function-is_pane_open)
- [`open_pane_length`](#function-open_pane_length)
- [`pane_background`](#function-pane_background)
- [`pane_placement`](#function-pane_placement)
- [`pane`](#function-pane)
- [`pane_template`](#function-pane_template)
- [`use_light_dismiss_overlay_mode`](#function-use_light_dismiss_overlay_mode)
- [`on_pane_closed`](#function-on_pane_closed)
- [`on_pane_opened`](#function-on_pane_opened)

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

### compact_pane_length

```rust
fn compact_pane_length<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `SplitView::compact_pane_length_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7901)

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

### display_mode

```rust
fn display_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::SplitViewDisplayMode, M>) -> Self
```

Sets `SplitView::display_mode_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7906)

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

### is_pane_open

```rust
fn is_pane_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SplitView::is_pane_open_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7911)

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

### open_pane_length

```rust
fn open_pane_length<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
```

Sets `SplitView::open_pane_length_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7916)

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

### pane_background

```rust
fn pane_background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `SplitView::pane_background_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7921)

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

### pane_placement

```rust
fn pane_placement<M>(self: Self, value: impl IntoProp<ferroui_controls::SplitViewPanePlacement, M>) -> Self
```

Sets `SplitView::pane_placement_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7926)

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

### pane

```rust
fn pane<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
```

Sets `SplitView::pane_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7931)

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

### pane_template

```rust
fn pane_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `SplitView::pane_template_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7936)

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

### use_light_dismiss_overlay_mode

```rust
fn use_light_dismiss_overlay_mode<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `SplitView::use_light_dismiss_overlay_mode_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7941)

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

### on_pane_closed

```rust
fn on_pane_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `SplitView::pane_closed_event`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7946)

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

### on_pane_opened

```rust
fn on_pane_opened(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `SplitView::pane_opened_event`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L7951)

## Trait implementations

- [`SplitViewProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-splitviewprops/)

## Availability

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