# ScrollEventType

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/primitives/enum-scrolleventtype/

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

```rust
enum ScrollEventType
```

Specifies the type of `ScrollBar` scroll event that occurred.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L4)

## Members

- [`SmallDecrement`](#variant-smalldecrement)
- [`SmallIncrement`](#variant-smallincrement)
- [`LargeDecrement`](#variant-largedecrement)
- [`LargeIncrement`](#variant-largeincrement)
- [`ThumbTrack`](#variant-thumbtrack)
- [`EndScroll`](#variant-endscroll)

<a id="variant-smalldecrement"></a>

### SmallDecrement

```rust
SmallDecrement = 0
```

The thumb moved a distance determined by the value of `SmallChange`:
to the left for a horizontal scroll bar or upward for a vertical one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L7)

<a id="variant-smallincrement"></a>

### SmallIncrement

```rust
SmallIncrement = 1
```

The thumb moved a distance determined by the value of `SmallChange`:
to the right for a horizontal scroll bar or downward for a vertical
one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L11)

<a id="variant-largedecrement"></a>

### LargeDecrement

```rust
LargeDecrement = 2
```

The thumb moved a distance determined by the value of `LargeChange`:
to the left for a horizontal scroll bar or upward for a vertical one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L14)

<a id="variant-largeincrement"></a>

### LargeIncrement

```rust
LargeIncrement = 3
```

The thumb moved a distance determined by the value of `LargeChange`:
to the right for a horizontal scroll bar or downward for a vertical
one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L18)

<a id="variant-thumbtrack"></a>

### ThumbTrack

```rust
ThumbTrack = 4
```

The thumb was dragged and caused a pointer move event. A scroll event
of this type may occur more than one time when the thumb is dragged
in the scroll bar.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L22)

<a id="variant-endscroll"></a>

### EndScroll

```rust
EndScroll = 5
```

The thumb was dragged to a new position and is now no longer being
dragged by the user.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/primitives/scroll_event_type.rs#L25)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

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