21 references to CurrentMediaContext
PresentationCore (21)
Core\CSharp\System\Windows\Media\Animation\IndependentAnimationStorage.cs (1)
222
MediaContext.
CurrentMediaContext
.ResourcesUpdated += _updateResourceHandler;
Core\CSharp\System\Windows\Media\Effects\PixelShader.cs (2)
71
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
76
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
Core\CSharp\System\Windows\Media\HostVisual.cs (1)
273
Debug.Assert(_target.OutOfBandChannel == MediaContext.
CurrentMediaContext
.OutOfBandChannel);
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
130
MediaContext mctx = MediaContext.
CurrentMediaContext
;
Core\CSharp\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
;
Core\CSharp\System\Windows\Media\Renderer.cs (2)
140
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
190
MediaContext mediaContext = MediaContext.
CurrentMediaContext
;
Core\CSharp\System\Windows\Media3D\ModelUIElement3D.cs (1)
63
(ValidateValueCallback) delegate { return MediaContext.
CurrentMediaContext
.WriteAccessEnabled; });
Core\CSharp\System\Windows\Media3D\ModelVisual3D.cs (1)
144
(ValidateValueCallback) delegate { return MediaContext.
CurrentMediaContext
.WriteAccessEnabled; });
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (2)
214
(ValidateValueCallback) delegate { return MediaContext.
CurrentMediaContext
.WriteAccessEnabled; });
260
(ValidateValueCallback) delegate { return MediaContext.
CurrentMediaContext
.WriteAccessEnabled; });
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
166
(ValidateValueCallback) delegate { return MediaContext.
CurrentMediaContext
.WriteAccessEnabled; });
Graphics\include\exports.cs (1)
687
return MediaContext.
CurrentMediaContext
.IsConnected;