# SwipeGestureRecognizerProps

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

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

```rust
trait SwipeGestureRecognizerProps: ElementBuilder
```

The properties and routed events of `SwipeGestureRecognizer`.

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

## Members

- [`can_horizontally_swipe`](#function-can_horizontally_swipe)
- [`can_vertically_swipe`](#function-can_vertically_swipe)
- [`threshold`](#function-threshold)
- [`is_mouse_enabled`](#function-is_mouse_enabled)
- [`is_enabled`](#function-is_enabled)

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

### can_horizontally_swipe

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

Sets `SwipeGestureRecognizer::can_horizontally_swipe_property`.

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

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

### can_vertically_swipe

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

Sets `SwipeGestureRecognizer::can_vertically_swipe_property`.

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

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

### threshold

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

Sets `SwipeGestureRecognizer::threshold_property`.

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

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

### is_mouse_enabled

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

Sets `SwipeGestureRecognizer::is_mouse_enabled_property`.

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

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

### is_enabled

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

Sets `SwipeGestureRecognizer::is_enabled_property`.

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

## Trait implementations

- [`SwipeGestureRecognizerProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-swipegesturerecognizerprops/)

## Availability

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