/WPF.Utils

Utils for invoking WPF conrols from async threads and tasks.

Primary LanguageC#MIT LicenseMIT

WinForms.Utils - Utils for invoking WPF conrols from async threads and tasks.

NuGet version NuGet downloads

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);
});

Please, if this tool has been useful for you consider to donate or click on the star button

Buy me a coffee