xaml - How DispatcherFrame works differently from Dispatcher.BeginInvoke in WPF? -
updating ui in wpf can done calling begininvoke
or invoke
methods of dispatcher
class. use technique update ui may fine user needs. have found class called dispatcherframe
in framework same.
dispatcherframe frame = new dispatcherframe(); //dispatcher.begininvoke code comes here dispatcher.pushframe(frame);
what dispatcherframe
class more on dispatcher
? when can go dispatcherframe
?. answer appreciated.
another question have been solved googing keyword dispatcherframe.
dispatcher creates automatically dispatcherframes , places them inside queue. window large dispatcherframe example.
only reason why use if wish configure frame e.g. callbacks when dispatcher done actions inside it.
Comments
Post a Comment