API

Dispatcher.InvokeAsync

Schedules a WPF UI operation.

Formal Syntax & Structure

csharp syntaxcsharp
await Dispatcher.InvokeAsync(() => Status.Text = "Ready");

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.await Dispatcher.InvokeAsync(() => Status.Text = "Ready");
C# & .NET Reference