# ControlAutomationPeerImpl

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

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

```rust
trait ControlAutomationPeerImpl: AutomationPeerImpl + $crate::Upcast<ControlAutomationPeer>
```

The overridable members introduced by the class.

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

## Members

- [`get_children_core`](#function-get_children_core)
- [`get_visual_parent`](#function-get_visual_parent)

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

### get_children_core

```rust
fn get_children_core(this: &Self) -> Option<Vec<Ref<AutomationPeer>>>
```

Gets the child automation peers of the peer, or `None` if it has
none. The default implementation returns the peers of the visible
visual children of the owner.

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

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

### get_visual_parent

```rust
fn get_visual_parent(this: &Self) -> Option<Ref<Visual>>
```

Gets the visual the peer of which is the parent of this peer
(not for use outside the framework).

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

## Trait implementations

- [`ControlAutomationPeerImpl`](/docs/0.5.0/api/ferroui-controls/automation/peers/trait-controlautomationpeerimpl/)

## Availability

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