# SliderProps

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

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

```rust
trait SliderProps: ElementBuilder
```

The properties and routed events of `Slider`.

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

## Members

- [`orientation`](#function-orientation)
- [`is_direction_reversed`](#function-is_direction_reversed)
- [`is_snap_to_tick_enabled`](#function-is_snap_to_tick_enabled)
- [`tick_frequency`](#function-tick_frequency)
- [`tick_placement`](#function-tick_placement)
- [`ticks`](#function-ticks)

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

### orientation

```rust
fn orientation<M>(self: Self, value: impl IntoProp<ferroui_base::layout::Orientation, M>) -> Self
```

Sets `Slider::orientation_property`.

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

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

### is_direction_reversed

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

Sets `Slider::is_direction_reversed_property`.

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

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

### is_snap_to_tick_enabled

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

Sets `Slider::is_snap_to_tick_enabled_property`.

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

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

### tick_frequency

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

Sets `Slider::tick_frequency_property`.

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

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

### tick_placement

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

Sets `Slider::tick_placement_property`.

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

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

### ticks

```rust
fn ticks<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::TickList>, M>) -> Self
```

Sets `Slider::ticks_property`.

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

## Trait implementations

- [`SliderProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-sliderprops/)

## Availability

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