# PathEventHandlerInvoke

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/type_alias-patheventhandlerinvoke/

**type alias** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
type PathEventHandlerInvoke = std::rc::Rc<dyn Fn(&crate::BoxedValue, &[Option<crate::BoxedValue>]) -> Result<(), crate::data::BindingError>>
```

Calls the method of an event handler element: the owner (the value the path before the
element produces, read when the event is raised; for a static method, the root source, which
it ignores) and the arguments the event passes (the sender and the event arguments of a
routed event). A method without parameters ignores them. `Err` is the failure of the call.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/compiled_binding_path.rs#L44)

## Availability

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