44 references to ComponentDispatcher
PresentationCore (7)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (3)
583
MSG previousMSG =
ComponentDispatcher
.UnsecureCurrentKeyboardMessage;
584
ComponentDispatcher
.UnsecureCurrentKeyboardMessage = msg;
607
ComponentDispatcher
.UnsecureCurrentKeyboardMessage = previousMSG;
Core\CSharp\System\Windows\Interop\HwndSource.cs (4)
3133
ComponentDispatcher
.CriticalAddThreadPreprocessMessageHandlerFirst(_handler);
3137
ComponentDispatcher
.ThreadPreprocessMessage += _handler;
3169
ComponentDispatcher
.CriticalRemoveThreadPreprocessMessageHandlerFirst(_handler);
3173
ComponentDispatcher
.ThreadPreprocessMessage -= _handler;
PresentationFramework (11)
src\Framework\Microsoft\Win32\CommonDialog.cs (4)
137
ComponentDispatcher
.CriticalPushModal();
143
ComponentDispatcher
.CriticalPopModal();
203
ComponentDispatcher
.CriticalPushModal();
209
ComponentDispatcher
.CriticalPopModal();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
368
ComponentDispatcher
.ThreadFilterMessage +=
src\Framework\System\Windows\Interop\HwndHost.cs (4)
171
msg =
ComponentDispatcher
.UnsecureCurrentKeyboardMessage;
175
msg =
ComponentDispatcher
.CurrentKeyboardMessage;
211
msg =
ComponentDispatcher
.UnsecureCurrentKeyboardMessage;
215
msg =
ComponentDispatcher
.CurrentKeyboardMessage;
src\Framework\System\Windows\Window.cs (2)
5840
ComponentDispatcher
.PushModal();
5848
ComponentDispatcher
.PopModal();
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (4)
218
ComponentDispatcher
.EnterThreadModal += new EventHandler(ComponentDispatcher_EnterThreadModal);
219
ComponentDispatcher
.LeaveThreadModal += new EventHandler(ComponentDispatcher_LeaveThreadModal);
224
ComponentDispatcher
.EnterThreadModal -= new EventHandler(ComponentDispatcher_EnterThreadModal);
225
ComponentDispatcher
.LeaveThreadModal -= new EventHandler(ComponentDispatcher_LeaveThreadModal);
WindowsBase (22)
Base\System\Windows\Interop\ComponentDispatcher.cs (20)
79
ComponentDispatcherThread data =
ComponentDispatcher
.CurrentThreadData;
100
return
ComponentDispatcher
.CurrentThreadData.CurrentKeyboardMessage;
116
return
ComponentDispatcher
.CurrentThreadData.CurrentKeyboardMessage;
123
ComponentDispatcher
.CurrentThreadData.CurrentKeyboardMessage = value;
155
ComponentDispatcherThread data =
ComponentDispatcher
.CurrentThreadData;
185
ComponentDispatcherThread data =
ComponentDispatcher
.CurrentThreadData;
204
ComponentDispatcherThread data =
ComponentDispatcher
.CurrentThreadData;
224
ComponentDispatcherThread data =
ComponentDispatcher
.CurrentThreadData;
246
ComponentDispatcher
.CurrentThreadData.ThreadIdle += value;
251
ComponentDispatcher
.CurrentThreadData.ThreadIdle -= value;
272
ComponentDispatcher
.CurrentThreadData.ThreadFilterMessage += value;
277
ComponentDispatcher
.CurrentThreadData.ThreadFilterMessage -= value;
299
ComponentDispatcher
.CurrentThreadData.ThreadPreprocessMessage += value;
304
ComponentDispatcher
.CurrentThreadData.ThreadPreprocessMessage -= value;
320
ComponentDispatcher
.CurrentThreadData.AddThreadPreprocessMessageHandlerFirst(handler);
335
ComponentDispatcher
.CurrentThreadData.RemoveThreadPreprocessMessageHandlerFirst(handler);
354
ComponentDispatcher
.CurrentThreadData.EnterThreadModal += value;
359
ComponentDispatcher
.CurrentThreadData.EnterThreadModal -= value;
380
ComponentDispatcher
.CurrentThreadData.LeaveThreadModal += value;
385
ComponentDispatcher
.CurrentThreadData.LeaveThreadModal -= value;
Base\System\Windows\Threading\Dispatcher.cs (2)
2475
handled =
ComponentDispatcher
.RaiseThreadMessage(ref msg);
2548
ComponentDispatcher
.RaiseIdle();