on_pre_drop

Function on_pre_drop 

Source
pub fn on_pre_drop(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&DropArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Dragging cursor dropped data in the widget area and the widget is enabled.

ยงRoute

This event property uses the preview route, that is, the handler is called before the children widget handlers and before the $pn_ident handlers.