# MaskedTextBoxProps

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

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

```rust
trait MaskedTextBoxProps: ElementBuilder
```

The properties and routed events of `MaskedTextBox`.

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

## Members

- [`ascii_only`](#function-ascii_only)
- [`culture`](#function-culture)
- [`hide_prompt_on_leave`](#function-hide_prompt_on_leave)
- [`mask`](#function-mask)
- [`prompt_char`](#function-prompt_char)
- [`reset_on_prompt`](#function-reset_on_prompt)
- [`reset_on_space`](#function-reset_on_space)

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

### ascii_only

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

Sets `MaskedTextBox::ascii_only_property`.

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

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

### culture

```rust
fn culture<M>(self: Self, value: impl IntoProp<Option<ferroui_base::utilities::CultureInfo>, M>) -> Self
```

Sets `MaskedTextBox::culture_property`.

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

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

### hide_prompt_on_leave

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

Sets `MaskedTextBox::hide_prompt_on_leave_property`.

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

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

### mask

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

Sets `MaskedTextBox::mask_property`.

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

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

### prompt_char

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

Sets `MaskedTextBox::prompt_char_property`.

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

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

### reset_on_prompt

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

Sets `MaskedTextBox::reset_on_prompt_property`.

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

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

### reset_on_space

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

Sets `MaskedTextBox::reset_on_space_property`.

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

## Trait implementations

- [`MaskedTextBoxProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-maskedtextboxprops/)

## Availability

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