21 references to CurrentMediaContext
PresentationCore (21)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
592return MediaContext.CurrentMediaContext.IsConnected;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
225MediaContext.CurrentMediaContext.ResourcesUpdated += _updateResourceHandler;
System\Windows\Media\Effects\PixelShader.cs (2)
72MediaContext mediaContext = MediaContext.CurrentMediaContext; 77MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media\HostVisual.cs (1)
277Debug.Assert(_target.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
117MediaContext mctx = MediaContext.CurrentMediaContext;
System\Windows\Media\RenderCapability.cs (8)
34MediaContext mediaContext = MediaContext.CurrentMediaContext; 63MediaContext mediaContext = MediaContext.CurrentMediaContext; 96MediaContext mediaContext = MediaContext.CurrentMediaContext; 111MediaContext mediaContext = MediaContext.CurrentMediaContext; 129MediaContext mediaContext = MediaContext.CurrentMediaContext; 148MediaContext mediaContext = MediaContext.CurrentMediaContext; 161MediaContext mediaContext = MediaContext.CurrentMediaContext; 172MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media\Renderer.cs (2)
129MediaContext mediaContext = MediaContext.CurrentMediaContext; 178MediaContext mediaContext = MediaContext.CurrentMediaContext;
System\Windows\Media3D\ModelUIElement3D.cs (1)
59(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\ModelVisual3D.cs (1)
137(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\Viewport3DVisual.cs (2)
210(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; }); 256(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });
System\Windows\Media3D\Visual3D.cs (1)
157(ValidateValueCallback) delegate { return MediaContext.CurrentMediaContext.WriteAccessEnabled; });