Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the equivalent of WinForms Control.Invoke in WPF?

Tags:

.net

winforms

wpf

What do i use instead of

Me.Invoke

when i use wpf?

like image 497
Peter Avatar asked Jan 24 '23 18:01

Peter


1 Answers

You'll be using Dispatcher.Invoke in WPF.

MSDN Documentation

like image 97
Graeme Bradbury Avatar answered Jan 29 '23 13:01

Graeme Bradbury