# SelectableTextBlockProps

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

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

```rust
trait SelectableTextBlockProps: ElementBuilder
```

The properties and routed events of `SelectableTextBlock`.

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

## Members

- [`selection_start`](#function-selection_start)
- [`selection_end`](#function-selection_end)
- [`selection_brush`](#function-selection_brush)
- [`selection_foreground_brush`](#function-selection_foreground_brush)
- [`can_copy`](#function-can_copy)
- [`on_copying_to_clipboard`](#function-on_copying_to_clipboard)

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

### selection_start

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

Sets `SelectableTextBlock::selection_start_property`.

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

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

### selection_end

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

Sets `SelectableTextBlock::selection_end_property`.

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

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

### selection_brush

```rust
fn selection_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `SelectableTextBlock::selection_brush_property`.

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

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

### selection_foreground_brush

```rust
fn selection_foreground_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `SelectableTextBlock::selection_foreground_brush_property`.

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

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

### can_copy

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

Sets `SelectableTextBlock::can_copy_property`.

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

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

### on_copying_to_clipboard

```rust
fn on_copying_to_clipboard(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `SelectableTextBlock::copying_to_clipboard_event`.

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

## Trait implementations

- [`SelectableTextBlockProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-selectabletextblockprops/)

## Availability

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