25 references to _contentRoot
PresentationCore (25)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
841
_contentRoot
.GetHandle(channel),
871
_contentRoot
.GetHandle(channel),
1865
_contentRoot
.GetHandle(channel),
Core\CSharp\System\Windows\Media\CompositionTarget.cs (11)
81
Debug.Assert(!
_contentRoot
.IsOnChannel(channel));
84
Debug.Assert(!
_contentRoot
.IsOnChannel(outOfBandChannel));
94
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
96
_contentRoot
.DuplicateHandle(outOfBandChannel, channel);
115
if (
_contentRoot
.IsOnChannel(channel))
117
_contentRoot
.ReleaseOnChannel(channel);
120
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
122
_contentRoot
.ReleaseOnChannel(outOfBandChannel);
477
rc.Initialize(channel,
_contentRoot
.GetHandle(channel));
521
if (_rootVisual.Value != null &&
_contentRoot
.IsOnChannel(channel))
557
_contentRoot
.GetHandle(channel),
Core\CSharp\System\Windows\Media\HostVisual.cs (6)
221
targetsHandle = _target.
_contentRoot
.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel);
272
Debug.Assert(_target.
_contentRoot
.IsOnChannel(channel));
274
bool created = _target.
_contentRoot
.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
276
targetsHandle = _target.
_contentRoot
.GetHandle(channel);
391
_target.
_contentRoot
.GetHandle(channel),
401
_target.
_contentRoot
.ReleaseOnChannel(channel);
Core\CSharp\System\Windows\Media\VisualTarget.cs (5)
105
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
107
_contentRoot
.CreateOrAddRefOnChannel(this, channel, s_contentRootType);
213
_contentRoot
.ReleaseOnChannel(channel);
215
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
217
_contentRoot
.ReleaseOnChannel(outOfBandChannel);