21 references to CurrentMediaContext
PresentationCore (21)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
592
return MediaContext.
CurrentMediaContext
.IsConnected;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
225
MediaContext.
CurrentMediaContext
.ResourcesUpdated += _updateResourceHandler;
System\Windows\Media\Effects\PixelShader.cs (2)
72
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
77
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
System\Windows\Media\HostVisual.cs (1)
277
Debug.Assert(_target.OutOfBandChannel == MediaContext.
CurrentMediaContext
.OutOfBandChannel);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
117
MediaContext mctx = MediaContext.
CurrentMediaContext
;
System\Windows\Media\RenderCapability.cs (8)
34
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
63
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
96
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
111
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
129
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
148
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
161
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
172
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
System\Windows\Media\Renderer.cs (2)
129
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
178
MediaContext 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; });