42 references to From
PresentationCore (42)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (6)
548MediaContext.From(renderingThread.ThreadDispatcher).RenderComplete += _onDRThreadRenderComplete; 619MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete; 681MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 714MediaContext.From(_applicationDispatcher).RenderComplete += _onRenderComplete; 1128MediaContext.From(_applicationDispatcher).RenderComplete -= _onRenderComplete; 1149MediaContext.From(drDispatcher).RenderComplete -= _onDRThreadRenderComplete;
System\Windows\InterOp\D3DImage.cs (2)
556MediaContext mediaContext = MediaContext.From(Dispatcher); 570MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\InterOp\HwndTarget.cs (7)
625DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1537DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1568MediaContext mctx = MediaContext.From(Dispatcher); 1686DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1787DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 2111MediaContext mctx = MediaContext.From(Dispatcher); 2368MediaContext mctx = MediaContext.From(Dispatcher);
System\Windows\LayoutManager.cs (1)
107MediaContext.From(Dispatcher).BeginInvokeOnRender(_updateCallback, this);
System\Windows\Media\Animation\Animatable.cs (1)
330MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Animation\AnimationClockResource.cs (1)
73MediaContext mediaContext = MediaContext.From(dispatcher);
System\Windows\Media\Animation\Clock.cs (1)
3570TimeManager timeManager = MediaContext.From(Dispatcher).TimeManager;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
120MediaContext mediaContext = MediaContext.From(d.Dispatcher);
System\Windows\Media\Animation\TimeManager.cs (1)
98_systemClock = (IClock)MediaContext.From(Dispatcher);
System\Windows\Media\BitmapCacheBrush.cs (1)
84MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\CompositionTarget.cs (6)
164MediaContext.From(Dispatcher).PostRender(); 394MediaContext mctx = MediaContext.From(Dispatcher); 464DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 523MediaContext.From(Dispatcher).VerifyWriteAccess(); 582MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher); 590MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher);
System\Windows\Media\DrawingVisual.cs (1)
167MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
1240MediaContext mediaContext = MediaContext.From(Dispatcher); 1253MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\MediaContext.cs (3)
1384return From(Dispatcher.CurrentDispatcher); 1466MediaContext current = From(dispatcher); 1507MediaContext.From(dispatcher).UnregisterICompositionTargetInternal(iv);
System\Windows\Media\Visual.cs (3)
991MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1023MediaContext mediaContext = MediaContext.From(Dispatcher); 5199MediaContext mctx = MediaContext.From(e.Dispatcher);
System\Windows\Media\VisualBrush.cs (1)
84MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media3D\Visual3D.cs (1)
927MediaContext.From(this.Dispatcher).VerifyWriteAccess();
System\Windows\UIElement.cs (2)
1318MediaContext mediaContext = MediaContext.From(Dispatcher); 3218MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\UIElement3D.cs (1)
111MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);