# ScrollViewerProps

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

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

```rust
trait ScrollViewerProps: ElementBuilder
```

The properties and routed events of `ScrollViewer`.

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

## Members

- [`bring_into_view_on_focus_change`](#function-bring_into_view_on_focus_change)
- [`offset`](#function-offset)
- [`zoom_mode`](#function-zoom_mode)
- [`min_zoom_factor`](#function-min_zoom_factor)
- [`max_zoom_factor`](#function-max_zoom_factor)
- [`horizontal_scroll_bar_visibility`](#function-horizontal_scroll_bar_visibility)
- [`horizontal_snap_points_type`](#function-horizontal_snap_points_type)
- [`vertical_snap_points_type`](#function-vertical_snap_points_type)
- [`horizontal_snap_points_alignment`](#function-horizontal_snap_points_alignment)
- [`vertical_snap_points_alignment`](#function-vertical_snap_points_alignment)
- [`vertical_scroll_bar_visibility`](#function-vertical_scroll_bar_visibility)
- [`is_expanded`](#function-is_expanded)
- [`allow_auto_hide`](#function-allow_auto_hide)
- [`is_scroll_chaining_enabled`](#function-is_scroll_chaining_enabled)
- [`is_scroll_inertia_enabled`](#function-is_scroll_inertia_enabled)
- [`is_deferred_scrolling_enabled`](#function-is_deferred_scrolling_enabled)
- [`on_scroll_changed`](#function-on_scroll_changed)

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

### bring_into_view_on_focus_change

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

Sets `ScrollViewer::bring_into_view_on_focus_change_property`.

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

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

### offset

```rust
fn offset<M>(self: Self, value: impl IntoProp<ferroui_base::Vector, M>) -> Self
```

Sets `ScrollViewer::offset_property`.

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

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

### zoom_mode

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

Sets `ScrollViewer::zoom_mode_property`.

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

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

### min_zoom_factor

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

Sets `ScrollViewer::min_zoom_factor_property`.

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

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

### max_zoom_factor

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

Sets `ScrollViewer::max_zoom_factor_property`.

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

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

### horizontal_scroll_bar_visibility

```rust
fn horizontal_scroll_bar_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self
```

Sets `ScrollViewer::horizontal_scroll_bar_visibility_property`.

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

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

### horizontal_snap_points_type

```rust
fn horizontal_snap_points_type<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self
```

Sets `ScrollViewer::horizontal_snap_points_type_property`.

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

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

### vertical_snap_points_type

```rust
fn vertical_snap_points_type<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsType, M>) -> Self
```

Sets `ScrollViewer::vertical_snap_points_type_property`.

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

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

### horizontal_snap_points_alignment

```rust
fn horizontal_snap_points_alignment<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self
```

Sets `ScrollViewer::horizontal_snap_points_alignment_property`.

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

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

### vertical_snap_points_alignment

```rust
fn vertical_snap_points_alignment<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::SnapPointsAlignment, M>) -> Self
```

Sets `ScrollViewer::vertical_snap_points_alignment_property`.

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

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

### vertical_scroll_bar_visibility

```rust
fn vertical_scroll_bar_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::primitives::ScrollBarVisibility, M>) -> Self
```

Sets `ScrollViewer::vertical_scroll_bar_visibility_property`.

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

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

### is_expanded

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

Sets `ScrollViewer::is_expanded_property`.

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

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

### allow_auto_hide

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

Sets `ScrollViewer::allow_auto_hide_property`.

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

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

### is_scroll_chaining_enabled

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

Sets `ScrollViewer::is_scroll_chaining_enabled_property`.

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

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

### is_scroll_inertia_enabled

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

Sets `ScrollViewer::is_scroll_inertia_enabled_property`.

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

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

### is_deferred_scrolling_enabled

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

Sets `ScrollViewer::is_deferred_scrolling_enabled_property`.

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

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

### on_scroll_changed

```rust
fn on_scroll_changed(self: Self, handler: impl Fn(&ferroui_controls::ScrollChangedEventArgs) -> () + 'static) -> Self
```

Handles `ScrollViewer::scroll_changed_event`.

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

## Trait implementations

- [`ScrollViewerProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-scrollviewerprops/)

## Availability

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