# PointerPressedEventBehaviorImpl

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

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

```rust
trait PointerPressedEventBehaviorImpl: StyledElementBehaviorImpl + $crate::Upcast<PointerPressedEventBehavior>
```

The overridable members introduced by the class.

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

## Members

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

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

### on_pointer_pressed

```rust
fn on_pointer_pressed(this: &Self, sender: &Interactive, e: &PointerPressedEventArgs)
```

Called when a pointer is pressed over the associated control.

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

## Trait implementations

- [`PointerPressedEventBehaviorImpl`](/docs/0.5.0/api/ferroui-xaml-interactions-events/trait-pointerpressedeventbehaviorimpl/)

## Availability

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