WinForms.Utils - Utils for invoking WPF conrols from async threads and tasks.
WPF.Utils
- InvokeContentControl
- InvokeControl
- InvokeListBox
- InvokeProgressBar
- InvokeTextBox
- InvokeWebBrowser
WPF.Utils.Tests
- EnumValues
- EnumWPF
- InvokeContentControlTests
- InvokeControlTests
- InvokeProgressBarTests
- InvokeTextBoxTests
How to use
Example of usage:
var task = Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromMilliseconds(_timeout)).ConfigureAwait(true);
InvokeTextBox.Clear(textBox);
});