# PanelImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/trait-panelimpl/

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

```rust
trait PanelImpl: ControlImpl + $crate::Upcast<Panel>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/panel.rs#L33)

## Members

- [`children_changed`](#function-children_changed)
- [`invalidate_measure_on_children_changed`](#function-invalidate_measure_on_children_changed)

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

### children_changed

```rust
fn children_changed(this: &Self, e: &NotifyCollectionChangedEventArgs<'_, Ref<Control>>)
```

Called when the `children` collection changes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/panel.rs#L33)

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

### invalidate_measure_on_children_changed

```rust
fn invalidate_measure_on_children_changed(this: &Self)
```

Invalidates the measure of the panel after its children changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/panel.rs#L33)

## Trait implementations

- [`PanelImpl`](/docs/0.5.0/api/ferroui-controls/trait-panelimpl/)

## Availability

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