# SplitViewStateSetter

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

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

```rust
struct SplitViewStateSetter
```

Describes a state for `SplitViewStateBehavior` using size
conditions.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L14)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`min_width_property`](#function-min_width_property)
- [`min_width_operator_property`](#function-min_width_operator_property)
- [`max_width_property`](#function-max_width_property)
- [`max_width_operator_property`](#function-max_width_operator_property)
- [`min_height_property`](#function-min_height_property)
- [`min_height_operator_property`](#function-min_height_operator_property)
- [`max_height_property`](#function-max_height_property)
- [`max_height_operator_property`](#function-max_height_operator_property)
- [`display_mode_property`](#function-display_mode_property)
- [`pane_placement_property`](#function-pane_placement_property)
- [`is_pane_open_property`](#function-is_pane_open_property)
- [`target_split_view_property`](#function-target_split_view_property)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`min_width`](#function-min_width)
- [`set_min_width`](#function-set_min_width)
- [`min_width_operator`](#function-min_width_operator)
- [`set_min_width_operator`](#function-set_min_width_operator)
- [`max_width`](#function-max_width)
- [`set_max_width`](#function-set_max_width)
- [`max_width_operator`](#function-max_width_operator)
- [`set_max_width_operator`](#function-set_max_width_operator)
- [`min_height`](#function-min_height)
- [`set_min_height`](#function-set_min_height)
- [`min_height_operator`](#function-min_height_operator)
- [`set_min_height_operator`](#function-set_min_height_operator)
- [`max_height`](#function-max_height)
- [`set_max_height`](#function-set_max_height)
- [`max_height_operator`](#function-max_height_operator)
- [`set_max_height_operator`](#function-set_max_height_operator)
- [`display_mode`](#function-display_mode)
- [`set_display_mode`](#function-set_display_mode)
- [`pane_placement`](#function-pane_placement)
- [`set_pane_placement`](#function-set_pane_placement)
- [`is_pane_open`](#function-is_pane_open)
- [`set_is_pane_open`](#function-set_is_pane_open)
- [`target_split_view`](#function-target_split_view)
- [`set_target_split_view`](#function-set_target_split_view)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L18)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<SplitViewStateSetter>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L18)

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

### min_width_property

```rust
fn min_width_property() -> &'static StyledProperty<f64>
```

Identifies the `MinWidth` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### min_width_operator_property

```rust
fn min_width_operator_property() -> &'static StyledProperty<ComparisonConditionType>
```

Identifies the `MinWidthOperator` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### max_width_property

```rust
fn max_width_property() -> &'static StyledProperty<f64>
```

Identifies the `MaxWidth` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### max_width_operator_property

```rust
fn max_width_operator_property() -> &'static StyledProperty<ComparisonConditionType>
```

Identifies the `MaxWidthOperator` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### min_height_property

```rust
fn min_height_property() -> &'static StyledProperty<f64>
```

Identifies the `MinHeight` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### min_height_operator_property

```rust
fn min_height_operator_property() -> &'static StyledProperty<ComparisonConditionType>
```

Identifies the `MinHeightOperator` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### max_height_property

```rust
fn max_height_property() -> &'static StyledProperty<f64>
```

Identifies the `MaxHeight` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### max_height_operator_property

```rust
fn max_height_operator_property() -> &'static StyledProperty<ComparisonConditionType>
```

Identifies the `MaxHeightOperator` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### display_mode_property

```rust
fn display_mode_property() -> &'static StyledProperty<SplitViewDisplayMode>
```

Identifies the `DisplayMode` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### pane_placement_property

```rust
fn pane_placement_property() -> &'static StyledProperty<SplitViewPanePlacement>
```

Identifies the `PanePlacement` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### is_pane_open_property

```rust
fn is_pane_open_property() -> &'static StyledProperty<bool>
```

Identifies the `IsPaneOpen` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### target_split_view_property

```rust
fn target_split_view_property() -> &'static StyledProperty<Option<ElementRef<SplitView>>>
```

Identifies the `TargetSplitView` property.

Deviation (DEVIATIONS.md, Behaviors): the setter does not own the split view, so the
value is an element reference.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L29)

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

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `FerroObject::construct`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L105)

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

### new

```rust
fn new() -> Ref<Self>
```

Creates a setter.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L110)

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

### min_width

```rust
fn min_width(self: &Self) -> f64
```

Gets or sets minimum bounds width. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L115)

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

### set_min_width

```rust
fn set_min_width(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L119)

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

### min_width_operator

```rust
fn min_width_operator(self: &Self) -> ComparisonConditionType
```

Gets or sets minimum width comparison operator. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L124)

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

### set_min_width_operator

```rust
fn set_min_width_operator(self: &Self, value: ComparisonConditionType)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L128)

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

### max_width

```rust
fn max_width(self: &Self) -> f64
```

Gets or sets maximum bounds width. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L133)

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

### set_max_width

```rust
fn set_max_width(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L137)

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

### max_width_operator

```rust
fn max_width_operator(self: &Self) -> ComparisonConditionType
```

Gets or sets maximum width comparison operator. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L142)

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

### set_max_width_operator

```rust
fn set_max_width_operator(self: &Self, value: ComparisonConditionType)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L146)

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

### min_height

```rust
fn min_height(self: &Self) -> f64
```

Gets or sets minimum bounds height. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L151)

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

### set_min_height

```rust
fn set_min_height(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L155)

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

### min_height_operator

```rust
fn min_height_operator(self: &Self) -> ComparisonConditionType
```

Gets or sets minimum height comparison operator. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L160)

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

### set_min_height_operator

```rust
fn set_min_height_operator(self: &Self, value: ComparisonConditionType)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L164)

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

### max_height

```rust
fn max_height(self: &Self) -> f64
```

Gets or sets maximum bounds height. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L169)

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

### set_max_height

```rust
fn set_max_height(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L173)

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

### max_height_operator

```rust
fn max_height_operator(self: &Self) -> ComparisonConditionType
```

Gets or sets maximum height comparison operator. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L178)

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

### set_max_height_operator

```rust
fn set_max_height_operator(self: &Self, value: ComparisonConditionType)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L182)

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

### display_mode

```rust
fn display_mode(self: &Self) -> SplitViewDisplayMode
```

Gets or sets the display mode to apply. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L187)

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

### set_display_mode

```rust
fn set_display_mode(self: &Self, value: SplitViewDisplayMode)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L191)

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

### pane_placement

```rust
fn pane_placement(self: &Self) -> SplitViewPanePlacement
```

Gets or sets the pane placement to apply. This is a property of the object model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L196)

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

### set_pane_placement

```rust
fn set_pane_placement(self: &Self, value: SplitViewPanePlacement)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L200)

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

### is_pane_open

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

Gets or sets a value indicating whether the pane is open. This is a property of the object
model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L206)

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

### set_is_pane_open

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L210)

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

### target_split_view

```rust
fn target_split_view(self: &Self) -> Option<Ref<SplitView>>
```

Gets or sets the target `SplitView` to apply the state to. This is a property of the
object model; markup resolves a name given for it to the named split view.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L216)

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

### set_target_split_view

```rust
fn set_target_split_view(self: &Self, value: impl Into<Nullable<SplitView>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/split_view/split_view_state_setter.rs#L220)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<SplitViewStateSetter>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)

## Availability

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