# LostFocusEventBehaviorImpl

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

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

```rust
trait LostFocusEventBehaviorImpl: StyledElementBehaviorImpl + $crate::Upcast<LostFocusEventBehavior>
```

The overridable members introduced by the class.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Events/lost_focus_event_behavior.rs#L21)

## Members

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

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

### on_lost_focus

```rust
fn on_lost_focus(this: &Self, sender: &Interactive, e: &FocusChangedEventArgs)
```

Called when the associated control loses focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Events/lost_focus_event_behavior.rs#L21)

## Trait implementations

- [`LostFocusEventBehaviorImpl`](/docs/0.5.0/api/ferroui-xaml-interactions-events/trait-lostfocuseventbehaviorimpl/)

## Availability

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