# find_markup_event

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/metadata/members/function-find_markup_event/

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

```rust
fn find_markup_event(value: &dyn AnyValue, name: &str) -> Option<&'static super::MarkupEvent>
```

The plain (non-routed) event `name` of the type of `value`, or of the
nearest base type that declares one (`GetRuntimeEvent(name)`). Routed
events are found with
`RoutedEventRegistry::find_by_name`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/members.rs#L83)

## Availability

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