# RoutedEventTriggerBaseOfTImpl

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

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

```rust
trait RoutedEventTriggerBaseOfTImpl: AttachedToVisualTreeTriggerBaseImpl + $crate::Upcast<RoutedEventTriggerBaseOfT>
```

The overridable members introduced by the class.

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

## Members

- [`routed_event`](#function-routed_event)
- [`handler`](#function-handler)

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

### routed_event

```rust
fn routed_event(this: &Self) -> RoutedEvent
```

The routed event the trigger listens to (an abstract property of the reference).

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

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

### handler

```rust
fn handler(this: &Self, sender: &Interactive, e: &dyn IRoutedEventArgs)
```

Handles the event: runs the actions unless the trigger is disabled.

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

## Trait implementations

- [`RoutedEventTriggerBaseOfTImpl`](/docs/0.5.0/api/ferroui-xaml-interactions-custom/trait-routedeventtriggerbaseoftimpl/)

## Availability

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