# AttachedToLogicalTreeBehaviorImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions-custom/trait-attachedtologicaltreebehaviorimpl/

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

```rust
trait AttachedToLogicalTreeBehaviorImpl: DisposingBehaviorImpl + $crate::Upcast<AttachedToLogicalTreeBehavior>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/core/attached_to_logical_tree_behavior.rs#L22)

## Members

- [`on_attached_to_logical_tree_override`](#function-on_attached_to_logical_tree_override)

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

### on_attached_to_logical_tree_override

```rust
fn on_attached_to_logical_tree_override(this: &Self) -> Rc<dyn IDisposable>
```

Called after the associated object is attached to the logical tree.

Returns a disposable resource to be disposed when the behavior is detached.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Custom/core/attached_to_logical_tree_behavior.rs#L22)

## Trait implementations

- [`AttachedToLogicalTreeBehaviorImpl`](/docs/0.5.0/api/ferroui-xaml-interactions-custom/trait-attachedtologicaltreebehaviorimpl/)

## Availability

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