477 references to Dispatcher
PresentationCore (240)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
206Dispatcher dispatcher = peer.Dispatcher;
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
282source.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (4)
315Dispatcher.BeginInvoke(DispatcherPriority.Background, _updatePeer, this); 493ContextLayoutManager lm = ContextLayoutManager.From(this.Dispatcher); 1945ContextLayoutManager lm = ContextLayoutManager.From(this.Dispatcher); 2070ContextLayoutManager lm = ContextLayoutManager.From(this.Dispatcher);
Core\CSharp\System\Windows\FreezableCollection.cs (2)
553return IsFrozen || Dispatcher != null; 950canFreeze &= (item.Dispatcher == null);
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
450return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Input\InputManager.cs (6)
198ContextLayoutManager.From(Dispatcher).LayoutEvents.Add(_layoutUpdatedCallback); 584_hitTestInvalidatedAsyncOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, 640_hitTestInvalidatedAsyncOperation = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, 978_synchronizedInputAsyncClearOperation = Dispatcher.BeginInvoke((Action)delegate 1022_synchronizedInputAsyncClearOperation = Dispatcher.BeginInvoke((Action)delegate 1135Dispatcher.BeginInvoke(DispatcherPriority.Input, _continueProcessingStagingAreaCallback, null);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (2)
464using(Dispatcher.DisableProcessing()) // Disable reentrancy due to locks taken 632_reevaluateFocusOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateFocusCallback, null);
Core\CSharp\System\Windows\Input\MouseDevice.cs (6)
717_reevaluateMouseOverOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateMouseOverDelegate, null); 768_reevaluateCaptureOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateCaptureDelegate, null); 1062using(Dispatcher.DisableProcessing()) // Disable reentrancy due to locks taken 1164using (Dispatcher.DisableProcessing()) // Disable reentrancy due to locks taken 2220if (sourceHit != null && sourceHit.Dispatcher == inputSource.CompositionTarget.Dispatcher)
Core\CSharp\System\Windows\Input\TextServicesManager.cs (2)
87this.Dispatcher.IsTSFMessagePumpEnabled = false; 93this.Dispatcher.IsTSFMessagePumpEnabled = true;
Core\CSharp\System\Windows\Input\TouchDevice.cs (3)
545_reevaluateCapture = Dispatcher.BeginInvoke(DispatcherPriority.Input, 636_reevaluateCapture = Dispatcher.BeginInvoke(DispatcherPriority.Input, 914_reevaluateOver = Dispatcher.BeginInvoke(DispatcherPriority.Input,
Core\CSharp\System\Windows\Interop\D3DImage.cs (3)
626MediaContext mediaContext = MediaContext.From(Dispatcher); 640MediaContext mediaContext = MediaContext.From(Dispatcher); 843Dispatcher.BeginInvoke(
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (4)
271DispatcherOperation restoreCharMessages = Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(HwndSource.RestoreCharMessages), null); 277Dispatcher.CriticalRequestProcessing(true); 451Dispatcher.GetHashCode(), 832if(hwndSource.Dispatcher == _source.Value.Dispatcher)
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (2)
864_queryCursorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, 1139if(hwndSource.Dispatcher == _source.Value.Dispatcher)
Core\CSharp\System\Windows\Interop\HwndPanningFeedback.cs (1)
104_updatePanningOperation = _hwndSource.Dispatcher.BeginInvoke(DispatcherPriority.Background,
Core\CSharp\System\Windows\Interop\HwndSource.cs (8)
343_weakShutdownHandler = new WeakEventDispatcherShutdown(this, this.Dispatcher); 529this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(SetLayoutSize)); 533this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 588this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(SetLayoutSize)); 592this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 711this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 2065DispatcherOperation restoreCharMessages = Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(RestoreCharMessages), null); 2071Dispatcher.CriticalRequestProcessing(true);
Core\CSharp\System\Windows\Interop\HwndTarget.cs (10)
290EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientCreateVisual, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, Dispatcher.GetHashCode(), hwnd.ToInt64()); 322MediaContext.RegisterICompositionTarget(Dispatcher, this); 686DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 766MediaContext.UnregisterICompositionTarget(Dispatcher, this); 1700DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1736MediaContext mctx = MediaContext.From(Dispatcher); 1859DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1969DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 2309MediaContext mctx = MediaContext.From(Dispatcher); 2568MediaContext mctx = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\LayoutManager.cs (14)
36Dispatcher.ShutdownFinished += _shutdownHandler; 42Dispatcher.ShutdownFinished -= _shutdownHandler; 124MediaContext.From(Dispatcher).BeginInvokeOnRender(_updateCallback, this); 145Dispatcher._disableProcessingCount++; 157Dispatcher._disableProcessingCount--; 162Dispatcher._disableProcessingCount++; 174Dispatcher._disableProcessingCount--; 240Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 273using(Dispatcher.DisableProcessing()) 302Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 370Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 453Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, _updateLayoutBackground, this); 904ContextLayoutManager layoutManager = ContextLayoutManager.From(e.Dispatcher); 1019ContextLayoutManager lm = ContextLayoutManager.From(e.Dispatcher);
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (2)
355if ((Dispatcher != null) && Animatable_IsResourceInvalidationNecessary) 357MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\Animation\AnimationClockResource.cs (2)
76Debug.Assert(((System.Windows.Threading.DispatcherObject)sender).Dispatcher != null); 79System.Windows.Threading.Dispatcher dispatcher = ((System.Windows.Threading.DispatcherObject)sender).Dispatcher;
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
3593TimeManager timeManager = MediaContext.From(Dispatcher).TimeManager;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
458return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
Core\CSharp\System\Windows\Media\Animation\IndependentAnimationStorage.cs (2)
112Debug.Assert(d.Dispatcher != null); 122MediaContext mediaContext = MediaContext.From(d.Dispatcher);
Core\CSharp\System\Windows\Media\Animation\TimeManager.cs (1)
116_systemClock = (IClock)MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (4)
35if (this.Dispatcher != null) 93if ((Dispatcher != null) && !_isAsyncRenderRegistered) 95MediaContext mediaContext = MediaContext.From(Dispatcher); 242_DispatcherLayoutResult = Dispatcher.BeginInvoke(
Core\CSharp\System\Windows\Media\CompositionTarget.cs (4)
206MediaContext.From(Dispatcher).PostRender(); 444MediaContext mctx = MediaContext.From(Dispatcher); 519DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 584MediaContext.From(Dispatcher).VerifyWriteAccess();
Core\CSharp\System\Windows\Media\DrawingVisual.cs (1)
190MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
457return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (1)
536System.Windows.Threading.Dispatcher dispatcher = this.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\BitmapCacheBrush.cs (2)
123System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 184System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\Brush.cs (2)
124System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 172System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\CombinedGeometry.cs (2)
123System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 171System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
424return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (1)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
471return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\DrawingGroup.cs (7)
138if (oldCollection != newCollection && target.Dispatcher != null) 207System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 262System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 310System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 358System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 745if (this.Dispatcher != null) 773if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media\Generated\DrawingImage.cs (1)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
459return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
119System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
471return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\GeometryDrawing.cs (3)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 164System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 212System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\GeometryGroup.cs (3)
145if (oldCollection != newCollection && target.Dispatcher != null) 389if (this.Dispatcher != null) 417if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media\Generated\GlyphRunDrawing.cs (2)
97System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 145System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
459return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\ImageBrush.cs (1)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (1)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
424return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
460return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
459return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\Pen.cs (2)
116System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 206System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
424return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
459return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
471return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\TransformGroup.cs (3)
138if (oldCollection != newCollection && target.Dispatcher != null) 349if (this.Dispatcher != null) 377if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
424return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media\Generated\VideoDrawing.cs (1)
97System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\Generated\VisualBrush.cs (1)
122System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media\HostVisual.cs (5)
148Debug.Assert(target.Dispatcher.Thread == Thread.CurrentThread); 176Dispatcher.BeginInvoke( 201Debug.Assert(_target.Dispatcher.Thread == Thread.CurrentThread); 293object returnValue = _target.Dispatcher.Invoke( 349Dispatcher.BeginInvoke(
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
472Dispatcher dispatcher = decoder.Dispatcher;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1468MediaContext mediaContext = MediaContext.From(Dispatcher); 1481MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\MediaContext.cs (10)
242Dispatcher.ShutdownFinished += _destroyHandler; 371Dispatcher.BeginInvoke(DispatcherPriority.Normal, _renderModeMessage, null); 623_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, _animRenderMessage, null); 636_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, _animRenderMessage, null); 661_inputMarkerOp = Dispatcher.BeginInvoke(DispatcherPriority.Input, _inputMarkerMessage, null); 672_currentRenderOp = Dispatcher.BeginInvoke(priority, _animRenderMessage, null); 1494Dispatcher.ShutdownFinished -= _destroyHandler; 1738_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Render, _renderMessage, null); 1901Rendering(this.Dispatcher, new RenderingEventArgs(_timeManager.LastTickTime)); 2089using (Dispatcher.DisableProcessing())
Core\CSharp\System\Windows\Media\MediaEventsHelper.cs (2)
104Debug.Assert((sender.Dispatcher != null), "Dispatcher is null"); 107_dispatcher = sender.Dispatcher;
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
67_dispatcher = mediaPlayer.Dispatcher;
Core\CSharp\System\Windows\Media\MediaSystem.cs (4)
316reference.Dispatcher != null && 317other.Dispatcher != null && 318reference.Dispatcher != other.Dispatcher)
Core\CSharp\System\Windows\Media\Visual.cs (4)
1020MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1050using(Dispatcher.DisableProcessing()) 1052MediaContext mediaContext = MediaContext.From(Dispatcher); 5271MediaContext mctx = MediaContext.From(e.Dispatcher);
Core\CSharp\System\Windows\Media\VisualBrush.cs (4)
51if (this.Dispatcher != null) 94if ((Dispatcher != null) && !_isAsyncRenderRegistered) 96MediaContext mediaContext = MediaContext.From(Dispatcher); 224_DispatcherLayoutResult = Dispatcher.BeginInvoke(
Core\CSharp\System\Windows\Media\VisualTarget.cs (3)
49MediaContext.RegisterICompositionTarget(Dispatcher, this); 75MediaContext.UnregisterICompositionTarget(Dispatcher, this); 185MediaContext.UnregisterICompositionTarget(Dispatcher, this);
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
112System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
126System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
119System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
455return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Generated\GeometryModel3D.cs (3)
112System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 162System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher; 212System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
467return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Generated\MaterialGroup.cs (3)
134if (oldCollection != newCollection && target.Dispatcher != null) 345if (this.Dispatcher != null) 373if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
112System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
467return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Generated\Model3DGroup.cs (3)
134if (oldCollection != newCollection && target.Dispatcher != null) 362if (this.Dispatcher != null) 390if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
420return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Generated\RotateTransform3D.cs (1)
141System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
119System.Windows.Threading.Dispatcher dispatcher = target.Dispatcher;
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
467return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Generated\Transform3DGroup.cs (3)
134if (oldCollection != newCollection && target.Dispatcher != null) 345if (this.Dispatcher != null) 373if (this.Dispatcher != null)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
420return IsFrozen || Dispatcher != null;
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
952MediaContext.From(this.Dispatcher).VerifyWriteAccess();
Core\CSharp\System\Windows\PresentationSource.cs (2)
557if (element.Dispatcher == Dispatcher)
Core\CSharp\System\Windows\UIElement.cs (19)
277ContextLayoutManager ContextLayoutManager = ContextLayoutManager.From(Dispatcher); 310ContextLayoutManager ContextLayoutManager = ContextLayoutManager.From(Dispatcher); 361item = ContextLayoutManager.From(Dispatcher).LayoutEvents.Add(value); 373ContextLayoutManager.From(Dispatcher).LayoutEvents.Remove(item); 527? ContextLayoutManager.From(e.Dispatcher) 573ContextLayoutManager ContextLayoutManager = ContextLayoutManager.From(Dispatcher); 592using (Dispatcher.DisableProcessing()) 617ContextLayoutManager.From(Dispatcher).MeasureQueue.Remove(this); 656ContextLayoutManager layoutManager = ContextLayoutManager.From(Dispatcher); 700ContextLayoutManager.From(Dispatcher).MeasureQueue.Remove(this); 786ContextLayoutManager ContextLayoutManager = ContextLayoutManager.From(Dispatcher); 806using (Dispatcher.DisableProcessing()) 830ContextLayoutManager.From(Dispatcher).ArrangeQueue.Remove(this); 880ContextLayoutManager layoutManager = ContextLayoutManager.From(Dispatcher); 930ContextLayoutManager.From(Dispatcher).ArrangeQueue.Remove(this); 1052ContextLayoutManager.From(Dispatcher).AddToSizeChangedChain(info); 1346MediaContext mediaContext = MediaContext.From(Dispatcher); 1661ContextLayoutManager.From(Dispatcher).UpdateLayout(); 3269MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\UIElement3D.cs (1)
134MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);
PresentationFramework (177)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (12)
158Application.Current.Dispatcher.Invoke( 266Application.Current.Dispatcher.Invoke( 328Application.Current.Dispatcher.BeginInvoke( 350Application.Current.Dispatcher.BeginInvoke( 393Application.Current.Dispatcher.BeginInvoke( 452app.Dispatcher.Invoke(DispatcherPriority.Normal, 466Application.Current.Dispatcher.BeginInvoke( 495return (bool)Application.Current.Dispatcher.Invoke( 681info = ( SaveHistoryReturnInfo) Application.Current.Dispatcher.Invoke( 718Application.Current.Dispatcher.Invoke( 906Application.Current.Dispatcher.BeginInvoke( 1037return (OleCmdHelper) Application.Current.Dispatcher.Invoke(
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (2)
103bool enabled = (bool)Application.Current.Dispatcher.Invoke( 140int hresult = (int)Application.Current.Dispatcher.Invoke(
src\Framework\MS\Internal\AppModel\XappLauncher.cs (10)
213Dispatcher.Invoke( 237Dispatcher.BeginInvoke(DispatcherPriority.Normal, new SendOrPostCallback(delegate 418Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(DoGetManifestCompleted), e); 499Dispatcher.BeginInvoke(DispatcherPriority.Input, 551Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback( 577Dispatcher.BeginInvoke(DispatcherPriority.Send, new DispatcherOperationCallback( 836Dispatcher.BeginInvoke( 886Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(DoDownloadApplicationCompleted), e); 938Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback( 1257Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(RunApplicationAsyncCallback), null);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1431Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(DispatchBringIntoView), new object []{target, rect});
src\Framework\MS\Internal\Controls\WebBrowserSite.cs (1)
271Host.Dispatcher.Invoke(
src\Framework\MS\Internal\Data\DataBindEngine.cs (5)
448Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle, new DispatcherOperationCallback(CleanupOperation), null); 512_crossThreadDispatcherOperation = Dispatcher.BeginInvoke( 575_crossThreadDispatcherOperation = Dispatcher.BeginInvoke( 598Dispatcher.BeginInvoke(DispatcherPriority.DataBind, new DispatcherOperationCallback(Run), false); 603Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(Run), true);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1790Dispatcher.BeginInvoke(DispatcherPriority.Background, 1831_makeVisibleDispatcher = Dispatcher.BeginInvoke(DispatcherPriority.Inactive,
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
102using (_document.Dispatcher.DisableProcessing())
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (4)
170using (_document.Dispatcher.DisableProcessing()) 319using (_document.Dispatcher.DisableProcessing()) 633_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this); 802using (_document.Dispatcher.DisableProcessing())
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (5)
370Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), value); 389Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(SetTextSelection), value); 521Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(RaisePropertyChangedAsync), null); 720Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), value); 739Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(SetTextSelection), value);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
77_renderScope.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnUpdatedWorker), EventArgs.Empty);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
2290this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundMeasure), null);
src\Framework\MS\Internal\PtsHost\PtsCache.cs (5)
69PtsCache ptsCache = ptsContext.Dispatcher.PtsCache as PtsCache; 72ptsCache = new PtsCache(ptsContext.Dispatcher); 73ptsContext.Dispatcher.PtsCache = ptsCache; 84PtsCache ptsCache = ptsContext.Dispatcher.PtsCache as PtsCache; 266ptsContext.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnPtsContextReleased), null);
src\Framework\MS\Internal\PtsHost\PtsContext.cs (4)
334if (!this.Disposed && !this.Dispatcher.HasShutdownStarted) 337this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnDestroyPage), ptsPage); 379if (!this.Disposed && !this.Dispatcher.HasShutdownStarted) 382this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnDestroyBreakRecord), br);
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
203_asyncLoadOperation = _root.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(LoadAnnotationsAsync), this); 856_asyncLoadFromListOperation = _root.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(LoadAnnotationsFromListAsync), leftover);
src\Framework\System\Windows\Application.cs (11)
159Dispatcher.BeginInvoke( 176Dispatcher.BeginInvoke( 355Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(ShutdownCallback), null); 1257Dispatcher.Invoke( 1261Dispatcher.UnhandledException += value; 1268Dispatcher.Invoke( 1272Dispatcher.UnhandledException -= value; 1827Dispatcher.BeginInvoke( 2442wc[i].Dispatcher.BeginInvoke( 2502Dispatcher.CriticalInvokeShutdown(); 2546Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Automation\Peers\ButtonAutomationPeer.cs (1)
54Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
134Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(owner.OnBringItemIntoView), item);
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
857Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
226_listview.Dispatcher.Invoke(
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
717Dispatcher.BeginInvoke(DispatcherPriority.Loaded,
src\Framework\System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (1)
329Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(parent.OnBringItemIntoView), Item);
src\Framework\System\Windows\BroadcastEventHelper.cs (6)
28LoadedOrUnloadedOperation loadedOp = MediaContext.From(d.Dispatcher).AddLoadedOrUnloadedCallback(loadedCallback, d); 32DispatcherOperation operation = d.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, loadedCallback, d); 61MediaContext.From(d.Dispatcher).RemoveLoadedOrUnloadedCallback((LoadedOrUnloadedOperation)loadedPending[0]); 76LoadedOrUnloadedOperation unloadedOp = MediaContext.From(d.Dispatcher).AddLoadedOrUnloadedCallback(unloadedCallback, d); 80DispatcherOperation operation = d.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, unloadedCallback, d); 109MediaContext.From(d.Dispatcher).RemoveLoadedOrUnloadedCallback((LoadedOrUnloadedOperation)unloadedPending[0]);
src\Framework\System\Windows\Controls\ComboBox.cs (4)
190Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 243comboBox.Dispatcher.BeginInvoke( 269comboBox.Dispatcher.BeginInvoke( 742_updateTextBoxOperation = Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
563Dispatcher.BeginInvoke(DispatcherPriority.Normal, 587Dispatcher.BeginInvoke(DispatcherPriority.Send,
src\Framework\System\Windows\Controls\ContextMenuService.cs (2)
50if ((cm != null) && (element.Dispatcher != cm.Dispatcher))
src\Framework\System\Windows\Controls\Control.cs (1)
501plainText = (string)Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o) {
src\Framework\System\Windows\Controls\DataGrid.cs (6)
1561Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnBringItemIntoView), info); 1606Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnScrollIntoView), new object[] { info, column }); 1989Dispatcher.BeginInvoke(new DispatcherOperationCallback(OnDelayedViewportWidthChanged), DispatcherPriority.Loaded, this); 2391Dispatcher.Invoke(new DispatcherOperationCallback(DoNothing), DispatcherPriority.DataBind, bindingGroup); 4087Dispatcher.BeginInvoke((Action)delegate() 8531Dispatcher.BeginInvoke(new DispatcherOperationCallback(InvalidateCellsPanelHorizontalOffset), DispatcherPriority.Loaded, this);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (2)
2163Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action<int>)RetryBringIndexIntoView, index); 2209Dispatcher.BeginInvoke(priority, (Action<int>)RetryBringIndexIntoView, index);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
1129DataGridOwner.Dispatcher.BeginInvoke(new DispatcherOperationCallback(ComputeColumnWidths), DispatcherPriority.Render, this);
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
307Dispatcher.Invoke((Action)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DataGridRow.cs (2)
477Dispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedValidateWithoutUpdate), DispatcherPriority.DataBind, BindingGroup); 929Dispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedValidateWithoutUpdate), DispatcherPriority.DataBind, e.NewValue);
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (1)
285Dispatcher.Invoke((Action)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
354dp.Dispatcher.BeginInvoke(DispatcherPriority.Input, (Action)delegate()
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
868Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition); 1983Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition);
src\Framework\System\Windows\Controls\Frame.cs (1)
639_contentRenderedCallback = Dispatcher.BeginInvoke(DispatcherPriority.Input,
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
407Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (1)
351Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
3136return _thisInkCanvas.Dispatcher;
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
437return _thisInkPresenter.Dispatcher;
src\Framework\System\Windows\Controls\ListBox.cs (1)
132Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnBringItemIntoView), item);
src\Framework\System\Windows\Controls\MenuItem.cs (5)
581Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 647menuItem.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(delegate(object param) 1212Dispatcher.BeginInvoke(DispatcherPriority.Input, 1406Dispatcher.BeginInvoke(DispatcherPriority.Render, new DispatcherOperationCallback(InvokeClickAfterRender), userInitiated); 2053parent.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
773Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
320Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
335Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 1500_asyncCreate = Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(AsyncCreateWindow), this); 1762Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(HandleDeactivateApp), null); 1936Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
395Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
314Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1575Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition);
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
200Dispatcher.BeginInvoke(DispatcherPriority.Normal, loadStreamCompletedCaller, asyncResult);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1356this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(AsyncTakeFocus), null);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1556Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Controls\ToolBar.cs (2)
244Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 282Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\ToolTip.cs (1)
555Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
788Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(BringItemIntoView), null);
src\Framework\System\Windows\Controls\Validation.cs (1)
444adornerSite.Dispatcher.BeginInvoke(DispatcherPriority.Loaded,
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
69_owner.Dispatcher.VerifyAccess(); 106_owner.Dispatcher.VerifyAccess(); 347_owner.Dispatcher.VerifyAccess();
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (10)
801DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)OnAnchorOperation); 870DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, (Action)OnAnchorOperation); 1035DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)OnAnchorOperation); 1377anchoredInvalidateMeasureOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, 1678Dispatcher.BeginInvoke(DispatcherPriority.Loaded, (Action)delegate() 4341Dispatcher.BeginInvoke(DispatcherPriority.Background, measureCachesAction)); 4370clearIsScrollActiveOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 4378measureCachesOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 4389clearIsScrollActiveOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 8730_cleanupOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnCleanUp), null);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
1996get { return (_engine != null) ? _engine.Dispatcher : null; }
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1528if (Dispatcher.Thread == Thread.CurrentThread)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2443Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (Action)RestoreLiveShaping);
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
3287Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (Action)RestoreLiveShaping);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
329Dispatcher.BeginInvoke(DispatcherPriority.Background, queueTask, asyncRequest);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
410Dispatcher.BeginInvoke(DispatcherPriority.Background, queueTask, asyncRequest);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
957Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
627dObj.Dispatcher.BeginInvoke(DispatcherPriority.Send,
src\Framework\System\Windows\Documents\PageContent.cs (1)
146Dispatcher dispatcher = this.Dispatcher;
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3499return (this.Parent != null) ? this.Parent.Dispatcher : null;
src\Framework\System\windows\Documents\TextEditor.cs (1)
1635this.UiScope.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnTextViewUpdatedWorker), EventArgs.Empty);
src\Framework\System\Windows\Documents\TextServicesHost.cs (3)
106Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnUnregisterTextStore), textstore); 345Dispatcher.ShutdownFinished -= new EventHandler(OnDispatcherShutdownFinished); 397Dispatcher.ShutdownFinished += new EventHandler(OnDispatcherShutdownFinished);
src\Framework\System\Windows\Documents\TextStore.cs (1)
2300Invariant.Assert(Thread.CurrentThread == _textservicesHost.Dispatcher.Thread, "GrantLock called on bad thread!");
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3712Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle,
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1003_weakEventDispatcherShutdown = new WeakEventDispatcherShutdown(this, this.Dispatcher); 1322Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(AsyncDestroyWindow), null);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
235return (IsFrozen || Dispatcher != null);
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
207((DispatcherObject)navigator).Dispatcher.BeginInvoke( 656navigator = (INavigator)nw.Dispatcher.Invoke(
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
311_window.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, (_Action)_FixupTemplateIssues); 370_window.Dispatcher.BeginInvoke(DispatcherPriority.Render, (_Action)_FixupTemplateIssues);
src\Framework\System\Windows\Standard\Debug.cs (1)
367if (System.Windows.Application.Current.Dispatcher.CheckAccess())
src\Framework\System\Windows\SystemResources.cs (3)
1374Dispatcher dispatcher = Hwnd.Dispatcher; 1401if (!source.IsDisposed && (isSysColorsOrSettingsChange || (source.Dispatcher == dispatcher))) 1403source.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\TreeWalkHelper.cs (1)
118FrameworkContextData fcdata = FrameworkContextData.From(d.Dispatcher);
src\Framework\System\Windows\Window.cs (4)
3614_contentRenderedCallback = Dispatcher.BeginInvoke(DispatcherPriority.Input, 3756if (Application.Current.Dispatcher.Thread == Dispatcher.CurrentDispatcher.Thread) 4694if (Application.Current.Dispatcher.Thread == Dispatcher.CurrentDispatcher.Thread) 5617w.Dispatcher.BeginInvoke(
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
136this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 141this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation (37)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
249this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
689this.Dispatcher.BeginInvoke(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
107((DispatcherObject)sender).Dispatcher.BeginInvoke(DispatcherPriority.Input, new MethodInvoker(delegate()
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
99this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
384this.Dispatcher.BeginInvoke(DispatcherPriority.Input, MeasureConnectors);
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (2)
272this.contentGrid.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, 279this.contentGrid.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
93this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
1529row.Dispatcher.BeginInvoke(new Action<ToolTip, DataGridRow>((tip, r) => 1532var dt = new DispatcherTimer(TimeSpan.FromSeconds(6), DispatcherPriority.ApplicationIdle, (sender, e) => { tip.IsOpen = false; }, r.Dispatcher); 1537row.Dispatcher.BeginInvoke(new Action<string>((error) =>
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (5)
543this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, contextMenuLoaded, this.contextMenuTarget, this); 595this.Dispatcher.BeginInvoke(DispatcherPriority.DataBind, action, sender); 1304this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.variables1.CreateNewVariableWrapper(); })); 1319this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.arguments1.CreateNewArgumentWrapper(); })); 1391this.Dispatcher.BeginInvoke(new Action<IInputElement>((target) =>
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
120Dispatcher.UnhandledException += this.proxy.OnDispatcherUnhandledException; 663this.Dispatcher.BeginInvoke(new Action(() => 1197Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => this.imports1.OnReferenceUpdated(updatedReference, isAdded)));
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeView.xaml.cs (1)
62this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() =>
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
178this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.perfEventProvider.TypeBrowserApplicationIdleAfterShowDialog(); }));
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
233this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 240this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
357this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() => 430this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
1811Dispatcher.BeginInvoke(new Action<ExpressionValidationContext>((target) => 1828Dispatcher.BeginInvoke(new Action<string>(UpdateValidationError), error);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
548this.view.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (4)
260this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 447this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 645this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 1055this.wfItemPresenter.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (3)
257this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 527this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 876this.Dispatcher.BeginInvoke(
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
845this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => 1020this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
WindowsBase (21)
Base\MS\Internal\WeakEventTable.cs (3)
208Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle, new DispatcherOperationCallback(CleanupOperation), null); 420!Dispatcher.HasShutdownFinished) 424Dispatcher.Invoke((Action)OnShutDown, DispatcherPriority.Send, CancellationToken.None, TimeSpan.FromMilliseconds(300));
Base\System\Windows\DependencyObject.cs (2)
2488Dispatcher dispatcher = d.Dispatcher; 2491Dispatcher sourceDispatcher = newSources[i].DependencyObject.Dispatcher;
Base\System\Windows\DependencyProperty.cs (2)
422if (dispatcherObject != null && dispatcherObject.Dispatcher != null) 436Invariant.Assert(dispatcherObject.Dispatcher == null,
Base\System\Windows\Freezable.cs (4)
1048if (owner.Dispatcher != null && 1049child.Dispatcher != null && 1050owner.Dispatcher != child.Dispatcher)
Base\System\Windows\PropertyMetadata.cs (3)
193Debug.Assert(!(result is DispatcherObject) || ((DispatcherObject)result).Dispatcher == owner.Dispatcher); 500if (valueAsDispatcherObject.Dispatcher == null)
Base\System\Windows\Threading\Dispatcher.cs (1)
358if(frame.Dispatcher != dispatcher)
Base\System\Windows\Threading\DispatcherFrame.cs (2)
75Dispatcher dispatcher = Dispatcher; 98Dispatcher.BeginInvoke(DispatcherPriority.Send, (DispatcherOperationCallback) delegate(object unused) {return null;}, null);
Base\System\Windows\Threading\DispatcherObject.cs (2)
10/// <see cref="Dispatcher"/>. A DispatcherObject instance should 24/// Returns the <see cref="Dispatcher"/> that this
Shared\MS\Win32\HwndWrapper.cs (2)
237Dispatcher.BeginInvoke(DispatcherPriority.Normal, (DispatcherOperationCallback)UnregisterClass, _classAtom); 254Dispatcher.BeginInvoke(