Click or drag to resize

ApplicationInvokeT Method (FuncT)

Invoke the specified function on the UI thread returning its value after the execution is complete.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public T Invoke<T>(
	Func<T> func
)

Parameters

func
Type: SystemFuncT
Function to execute and return the value on the UI thread.

Type Parameters

T
The type of the return value.

Return Value

Type: T

[Missing <returns> documentation for "M:Eto.Forms.Application.Invoke``1(System.Func{``0})"]

Remarks
Use this method when you want to return values from the UI in a worker thread.
See Also