# RangeBaseAutomationPeer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/automation/peers/struct-rangebaseautomationpeer/

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

```rust
struct RangeBaseAutomationPeer
```

The base class of the automation peers which represent a [`RangeBase`](/docs/0.5.0/api/ferroui-controls/primitives/struct-rangebase/).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L12)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`is_read_only`](#function-is_read_only)
- [`owner_property_changed`](#function-owner_property_changed)
- [`construct`](#function-construct)
- [`owner`](#function-owner)
- [`maximum`](#function-maximum)
- [`minimum`](#function-minimum)
- [`value`](#function-value)
- [`small_change`](#function-small_change)
- [`large_change`](#function-large_change)
- [`set_value`](#function-set_value)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L16)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<RangeBaseAutomationPeer>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L16)

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

### is_read_only

```rust
fn is_read_only(self: &Self) -> bool
```

Whether the value of the control is read-only (the range value
provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L16)

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

### owner_property_changed

```rust
fn owner_property_changed(self: &Self, e: &FerroPropertyChangedEventArgs<'_>)
```

Called when a property of the owning control has changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L16)

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

### construct

```rust
fn construct(owner: &RangeBase) -> Self
```

Creates the class data; see `ferroui_base::FerroObject::construct`.
The class is abstract: it is the base of the peers of the range
controls.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L109)

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

### owner

```rust
fn owner(self: &Self) -> Ref<RangeBase>
```

Gets the owning range control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L114)

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

### maximum

```rust
fn maximum(self: &Self) -> f64
```

The maximum value of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L119)

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

### minimum

```rust
fn minimum(self: &Self) -> f64
```

The minimum value of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L124)

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

### value

```rust
fn value(self: &Self) -> f64
```

The value of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L129)

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

### small_change

```rust
fn small_change(self: &Self) -> f64
```

The small change of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L134)

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

### large_change

```rust
fn large_change(self: &Self) -> f64
```

The large change of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L139)

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

### set_value

```rust
fn set_value(self: &Self, value: f64) -> Result<(), AutomationError>
```

Sets the value of the control (the range value provider contract).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/peers/range_base_automation_peer.rs#L144)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`AutomationPeerImplExt`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-automationpeerimplext/)
- [`ControlAutomationPeerImplExt`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-controlautomationpeerimplext/)
- [`RangeBaseAutomationPeerImplExt`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-rangebaseautomationpeerimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<RangeBaseAutomationPeer>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`ControlAutomationPeerImpl`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-controlautomationpeerimpl/)
- [`AutomationPeerImpl`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-automationpeerimpl/)
- [`RangeBaseAutomationPeerImpl`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-rangebaseautomationpeerimpl/)

## Availability

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