21 references to CurrentMediaContext
PresentationCore (21)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
575return MediaContext.CurrentMediaContext.IsConnected;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
221MediaContext.CurrentMediaContext.ResourcesUpdated += _updateResourceHandler;
System\Windows\Media\Effects\PixelShader.cs (2)
50MediaContext mediaContext = MediaContext.CurrentMediaContext; 55MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media\HostVisual.cs (1)
261Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
104MediaContext mctx = MediaContext.CurrentMediaContext;
System\Windows\Media\RenderCapability.cs (8)
31MediaContext mediaContext = MediaContext.CurrentMediaContext; 60MediaContext mediaContext = MediaContext.CurrentMediaContext; 93MediaContext mediaContext = MediaContext.CurrentMediaContext; 108MediaContext mediaContext = MediaContext.CurrentMediaContext; 126MediaContext mediaContext = MediaContext.CurrentMediaContext; 145MediaContext mediaContext = MediaContext.CurrentMediaContext; 158MediaContext mediaContext = MediaContext.CurrentMediaContext; 169MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media\Renderer.cs (2)
117MediaContext mediaContext = MediaContext.CurrentMediaContext; 166MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media3D\ModelUIElement3D.cs (1)
49(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\ModelVisual3D.cs (1)
121(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\Viewport3DVisual.cs (2)
199(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; }); 245(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\Visual3D.cs (1)
149(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });