xtd 0.2.0
Loading...
Searching...
No Matches

◆ invoke() [3/6]

std::optional< object_ref > xtd::forms::control::invoke ( delegate< void(std::vector< std::any >)>  method,
std::any  arg 
)
overridevirtual

Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.

Parameters
methodA delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
argsAn array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

Implements xtd::isynchronize_invoke.