42 references to From
PresentationCore (42)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (6)
549MediaContext.From(renderingThread.ThreadDispatcher).RenderComplete += _onDRThreadRenderComplete; 624MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete; 686MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 719MediaContext.From(_applicationDispatcher).RenderComplete += _onRenderComplete; 1143MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 1166MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete;
System\Windows\InterOp\D3DImage.cs (2)
557MediaContext mediaContext = MediaContext.From(Dispatcher); 571MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\InterOp\HwndTarget.cs (7)
628DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1545DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1576MediaContext mctx = MediaContext.From(Dispatcher); 1694DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1795DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 2119MediaContext mctx = MediaContext.From(Dispatcher); 2374MediaContext mctx = MediaContext.From(Dispatcher);
System\Windows\LayoutManager.cs (1)
108MediaContext.From(Dispatcher).BeginInvokeOnRender(_updateCallback, this);
System\Windows\Media\Animation\Animatable.cs (1)
348MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Animation\AnimationClockResource.cs (1)
74MediaContext mediaContext = MediaContext.From(dispatcher);
System\Windows\Media\Animation\Clock.cs (1)
3572TimeManager timeManager = MediaContext.From(Dispatcher).TimeManager;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
121MediaContext mediaContext = MediaContext.From(d.Dispatcher);
System\Windows\Media\Animation\TimeManager.cs (1)
99_systemClock = (IClock)MediaContext.From(Dispatcher);
System\Windows\Media\BitmapCacheBrush.cs (1)
85MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\CompositionTarget.cs (6)
165MediaContext.From(Dispatcher).PostRender(); 395MediaContext mctx = MediaContext.From(Dispatcher); 465DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 524MediaContext.From(Dispatcher).VerifyWriteAccess(); 583MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher); 591MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher);
System\Windows\Media\DrawingVisual.cs (1)
171MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1259MediaContext mediaContext = MediaContext.From(Dispatcher); 1272MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\MediaContext.cs (3)
1388return From(Dispatcher.CurrentDispatcher); 1470MediaContext current = From(dispatcher); 1511MediaContext.From(dispatcher).UnregisterICompositionTargetInternal(iv);
System\Windows\Media\Visual.cs (3)
994MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1026MediaContext mediaContext = MediaContext.From(Dispatcher); 5208MediaContext mctx = MediaContext.From(e.Dispatcher);
System\Windows\Media\VisualBrush.cs (1)
85MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media3D\Visual3D.cs (1)
928MediaContext.From(this.Dispatcher).VerifyWriteAccess();
System\Windows\UIElement.cs (2)
1327MediaContext mediaContext = MediaContext.From(Dispatcher); 3230MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\UIElement3D.cs (1)
112MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);