36 references to From
PresentationCore (36)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
626MediaContext mediaContext = MediaContext.From(Dispatcher); 640MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Interop\HwndTarget.cs (7)
686DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 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 (1)
124MediaContext.From(Dispatcher).BeginInvokeOnRender(_updateCallback, this);
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (1)
357MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\Animation\AnimationClockResource.cs (1)
81MediaContext mediaContext = MediaContext.From(dispatcher);
Core\CSharp\System\Windows\Media\Animation\Clock.cs (1)
3593TimeManager timeManager = MediaContext.From(Dispatcher).TimeManager;
Core\CSharp\System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
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 (1)
95MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media\CompositionTarget.cs (6)
206MediaContext.From(Dispatcher).PostRender(); 444MediaContext mctx = MediaContext.From(Dispatcher); 519DUCE.ChannelSet channelSet = MediaContext.From(Dispatcher).GetChannels(); 584MediaContext.From(Dispatcher).VerifyWriteAccess(); 643MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher); 651MediaContext mc = MediaContext.From(Dispatcher.CurrentDispatcher);
Core\CSharp\System\Windows\Media\DrawingVisual.cs (1)
190MediaContext mediaContext = MediaContext.From(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 (3)
1440return From(Dispatcher.CurrentDispatcher); 1530MediaContext current = From(dispatcher); 1571MediaContext.From(dispatcher).UnregisterICompositionTargetInternal(iv);
Core\CSharp\System\Windows\Media\Visual.cs (3)
1020MediaContext.From(this.Dispatcher).VerifyWriteAccess(); 1052MediaContext mediaContext = MediaContext.From(Dispatcher); 5271MediaContext mctx = MediaContext.From(e.Dispatcher);
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
96MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
952MediaContext.From(this.Dispatcher).VerifyWriteAccess();
Core\CSharp\System\Windows\UIElement.cs (2)
1346MediaContext mediaContext = MediaContext.From(Dispatcher); 3269MediaContext mediaContext = MediaContext.From(Dispatcher);
Core\CSharp\System\Windows\UIElement3D.cs (1)
134MediaContext.From(Dispatcher).BeginInvokeOnRender(CallRenderCallback, this);