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)
632DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1549DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1580MediaContext mctx = MediaContext.From(Dispatcher); 1698DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 1799DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 2123MediaContext mctx = MediaContext.From(Dispatcher); 2378MediaContext 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)
1273MediaContext mediaContext = MediaContext.From(Dispatcher); 1286MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media\MediaContext.cs (3)
1410return From(Dispatcher.CurrentDispatcher); 1492MediaContext current = From(dispatcher); 1533MediaContext.From(dispatcher).UnregisterICompositionTargetInternal(iv);
System\Windows\Media\Visual.cs (3)
1013MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1045MediaContext mediaContext = MediaContext.From(Dispatcher); 5230MediaContext mctx = MediaContext.From(e.Dispatcher);
System\Windows\Media\VisualBrush.cs (1)
94MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\Media3D\Visual3D.cs (1)
938MediaContext.From(this.Dispatcher).VerifyWriteAccess();
System\Windows\UIElement.cs (2)
1332MediaContext mediaContext = MediaContext.From(Dispatcher); 3239MediaContext mediaContext = MediaContext.From(Dispatcher);
System\Windows\UIElement3D.cs (1)
127MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);