# ScrollContentPresenterProps

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

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

```rust
trait ScrollContentPresenterProps: ElementBuilder
```

The properties and routed events of `ScrollContentPresenter`.

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

## Members

- [`can_horizontally_scroll`](#function-can_horizontally_scroll)
- [`can_vertically_scroll`](#function-can_vertically_scroll)
- [`extent`](#function-extent)
- [`offset`](#function-offset)
- [`viewport`](#function-viewport)
- [`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)
- [`is_scroll_chaining_enabled`](#function-is_scroll_chaining_enabled)

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

### can_horizontally_scroll

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

Sets `ScrollContentPresenter::can_horizontally_scroll_property`.

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

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

### can_vertically_scroll

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

Sets `ScrollContentPresenter::can_vertically_scroll_property`.

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

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

### extent

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

Sets `ScrollContentPresenter::extent_property`.

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

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

### offset

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

Sets `ScrollContentPresenter::offset_property`.

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

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

### viewport

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

Sets `ScrollContentPresenter::viewport_property`.

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

<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 `ScrollContentPresenter::horizontal_snap_points_type_property`.

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

<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 `ScrollContentPresenter::vertical_snap_points_type_property`.

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

<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 `ScrollContentPresenter::horizontal_snap_points_alignment_property`.

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

<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 `ScrollContentPresenter::vertical_snap_points_alignment_property`.

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

<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 `ScrollContentPresenter::is_scroll_chaining_enabled_property`.

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

## Trait implementations

- [`ScrollContentPresenterProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-scrollcontentpresenterprops/)

## Availability

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