# ScrollGestureRecognizerProps

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

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

```rust
trait ScrollGestureRecognizerProps: ElementBuilder
```

The properties and routed events of `ScrollGestureRecognizer`.

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

## Members

- [`can_horizontally_scroll`](#function-can_horizontally_scroll)
- [`can_vertically_scroll`](#function-can_vertically_scroll)
- [`is_scroll_inertia_enabled`](#function-is_scroll_inertia_enabled)
- [`scroll_start_distance`](#function-scroll_start_distance)
- [`offset`](#function-offset)
- [`extent`](#function-extent)
- [`viewport`](#function-viewport)

<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 `ScrollGestureRecognizer::can_horizontally_scroll_property`.

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

<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 `ScrollGestureRecognizer::can_vertically_scroll_property`.

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

<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 `ScrollGestureRecognizer::is_scroll_inertia_enabled_property`.

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

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

### scroll_start_distance

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

Sets `ScrollGestureRecognizer::scroll_start_distance_property`.

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

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

### offset

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

Sets `ScrollGestureRecognizer::offset_property`.

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

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

### extent

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

Sets `ScrollGestureRecognizer::extent_property`.

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

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

### viewport

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

Sets `ScrollGestureRecognizer::viewport_property`.

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

## Trait implementations

- [`ScrollGestureRecognizerProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-scrollgesturerecognizerprops/)

## Availability

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