# RatingControlProps

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

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

```rust
trait RatingControlProps: ElementBuilder
```

The properties and routed events of `RatingControl`.

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

## Members

- [`caption`](#function-caption)
- [`initial_set_value`](#function-initial_set_value)
- [`is_clear_enabled`](#function-is_clear_enabled)
- [`is_read_only`](#function-is_read_only)
- [`max_rating`](#function-max_rating)
- [`placeholder_value`](#function-placeholder_value)
- [`item_info`](#function-item_info)
- [`value`](#function-value)

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

### caption

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

Sets `RatingControl::caption_property`.

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

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

### initial_set_value

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

Sets `RatingControl::initial_set_value_property`.

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

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

### is_clear_enabled

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

Sets `RatingControl::is_clear_enabled_property`.

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

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

### is_read_only

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

Sets `RatingControl::is_read_only_property`.

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

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

### max_rating

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

Sets `RatingControl::max_rating_property`.

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

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

### placeholder_value

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

Sets `RatingControl::placeholder_value_property`.

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

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

### item_info

```rust
fn item_info<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::RatingItemInfo>>, M>) -> Self
```

Sets `RatingControl::item_info_property`.

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

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

### value

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

Sets `RatingControl::value_property`.

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

## Trait implementations

- [`RatingControlProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-ratingcontrolprops/)

## Availability

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