Skip to main content

CommandEventSubscription

Type Alias CommandEventSubscription 

Source
pub type CommandEventSubscription = Rc<dyn Fn(Rc<dyn Fn()>) -> Rc<dyn IDisposable>>;
Expand description

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>>.

Aliased Typeยง

pub struct CommandEventSubscription { /* private fields */ }