42 references to From
PresentationCore (42)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (6)
563MediaContext.From(renderingThread.ThreadDispatcher).RenderComplete += _onDRThreadRenderComplete; 638MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete; 700MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 733MediaContext.From(_applicationDispatcher).RenderComplete += _onRenderComplete; 1157MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 1180MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete;
System\Windows\InterOp\D3DImage.cs (2)
569MediaContext mediaContext = MediaContext.From(Dispatcher); 583MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\InterOp\HwndTarget.cs (7)
641DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1558DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1589MediaContext mctx = MediaContext.From(Dispatcher); 1707DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1808DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 2132MediaContext mctx = MediaContext.From(Dispatcher); 2387MediaContext mctx = MediaContext.From(Dispatcher);
System\Windows\LayoutManager.cs (1)
124MediaContext.From(Dispatcher).BeginInvokeOnRender(_updateCallback, this);
System\Windows\Media\Animation\Animatable.cs (1)
355MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Animation\AnimationClockResource.cs (1)
79MediaContext mediaContext = MediaContext.From(dispatcher);
System\Windows\Media\Animation\Clock.cs (1)
3585TimeManager timeManager = MediaContext.From(Dispatcher).TimeManager;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
125MediaContext mediaContext = MediaContext.From(d.Dispatcher);
System\Windows\Media\Animation\TimeManager.cs (1)
113_systemClock = (IClock)MediaContext.From(Dispatcher);
System\Windows\Media\BitmapCacheBrush.cs (1)
93MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\CompositionTarget.cs (6)
187MediaContext.From(Dispatcher).PostRender(); 417MediaContext mctx = MediaContext.From(Dispatcher); 487DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 546MediaContext.From(Dispatcher).VerifyWriteAccess(); 605MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher); 613MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher);
System\Windows\Media\DrawingVisual.cs (1)
181MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1276MediaContext mediaContext = MediaContext.From(Dispatcher); 1289MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\MediaContext.cs (3)
1409return From(Dispatcher.CurrentDispatcher); 1491MediaContext current = From(dispatcher); 1532MediaContext.From(dispatcher).UnregisterICompositionTargetInternal(iv);
System\Windows\Media\Visual.cs (3)
1010MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1042MediaContext mediaContext = MediaContext.From(Dispatcher); 5224MediaContext mctx = MediaContext.From(e.Dispatcher);
System\Windows\Media\VisualBrush.cs (1)
94MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media3D\Visual3D.cs (1)
936MediaContext.From(this.Dispatcher).VerifyWriteAccess();
System\Windows\UIElement.cs (2)
1332MediaContext mediaContext = MediaContext.From(Dispatcher); 3235MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\UIElement3D.cs (1)
127MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);