FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CommandEventSubscription

    type alias · ferroui-reactiveui · v0.5.0

    type CommandEventSubscription = std::rc::Rc<dyn Fn(std::rc::Rc<dyn Fn() -> ()>) -> std::rc::Rc<dyn IDisposable>>
    

    Adds a handler to an event of a control and returns the disposable that removes it: the counterpart of the pair addHandler / removeHandler of Action<EventHandler<TEventArgs>>.

    View source

    Availability

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