# ITextChildProvider

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/automation/provider/trait-itextchildprovider/

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

```rust
trait ITextChildProvider
```

A child embedded in a text document. Its container owns the Text pattern;
its live range follows the child's current position in that document.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/provider/i_text_child_provider.rs#L11)

## Members

- [`peer`](#function-peer)
- [`text_container`](#function-text_container)
- [`text_range`](#function-text_range)

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

### peer

```rust
fn peer(self: &Self) -> Ref<AutomationPeer>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/provider/i_text_child_provider.rs#L12)

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

### text_container

```rust
fn text_container(self: &Self) -> Result<Ref<AutomationPeer>, ProviderError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/automation/provider/i_text_child_provider.rs#L13)

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

### text_range

```rust
fn text_range(self: &Self) -> Result<Rc<dyn ITextRangeProvider>, ProviderError>
```



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

## Trait implementations

- [`ITextChildProvider`](/docs/0.5.0/api/ferroui-controls/automation/provider/trait-itextchildprovider/)

## Availability

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