21 references to CurrentMediaContext
PresentationCore (21)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
575
return MediaContext.
CurrentMediaContext
.IsConnected;
System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
221
MediaContext.
CurrentMediaContext
.ResourcesUpdated += _updateResourceHandler;
System\Windows\Media\Effects\PixelShader.cs (2)
50
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
55
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
System\Windows\Media\HostVisual.cs (1)
261
Debug.Assert(_target.OutOfBandChannel == MediaContext.
CurrentMediaContext
.OutOfBandChannel);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
104
MediaContext mctx = MediaContext.
CurrentMediaContext
;
System\Windows\Media\RenderCapability.cs (8)
31
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
60
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
93
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
108
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
126
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
145
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
158
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
169
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
System\Windows\Media\Renderer.cs (2)
117
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
166
MediaContext 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; });