-1

Maybe someone can explain what a DispatcherFrame is. Other posts and the MS Docs' description is in my opinion not detailed enough:

Represents an execution loop in the Dispatcher.

Does this mean it is blocking the message queue in some way?

thanks;

Hakim
  • 452
  • 4
  • 15

1 Answers1

1

You can think of a DispatcherFrame as something that forces operations to be processed until some condition is met (or the application is shut down). Please refer to Kent Boogaart's blog post on the subject for more information and a downloadable sample.

mm8
  • 163,881
  • 10
  • 57
  • 88
  • After a Frame has finished his work (message queue is empty) do I have to set up a whole new frame? When is the message queue in a wpf app empty? – Hakim Oct 16 '18 at 17:18