FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    subscribe_plain_event

    function · ferroui-xaml-interactivity · v0.5.0

    fn subscribe_plain_event(event: &'static ferroui_base::metadata::MarkupEvent, instance: &ferroui_base::BoxedValue, handler: ferroui_base::metadata::MarkupDelegate) -> Option<std::rc::Rc<dyn IDisposable>>
    

    Subscribes handler to a plain event of instance; the subscription is ended by disposing the returned handle (EventInfo.AddEventHandler / RemoveEventHandler).

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.