27 references to _contentRoot
PresentationCore (27)
System\Windows\InterOp\HwndTarget.cs (3)
776
_contentRoot
.GetHandle(channel),
806
_contentRoot
.GetHandle(channel),
1713
_contentRoot
.GetHandle(channel),
System\Windows\Media\CompositionTarget.cs (11)
72
Debug.Assert(!
_contentRoot
.IsOnChannel(channel));
75
Debug.Assert(!
_contentRoot
.IsOnChannel(outOfBandChannel));
85
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
87
_contentRoot
.DuplicateHandle(outOfBandChannel, channel);
105
if (
_contentRoot
.IsOnChannel(channel))
107
_contentRoot
.ReleaseOnChannel(channel);
110
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
112
_contentRoot
.ReleaseOnChannel(outOfBandChannel);
450
rc.Initialize(channel,
_contentRoot
.GetHandle(channel));
489
if (_rootVisual != null &&
_contentRoot
.IsOnChannel(channel))
525
_contentRoot
.GetHandle(channel),
System\Windows\Media\HostVisual.cs (8)
225
targetsHandle = _target.
_contentRoot
.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel);
276
Debug.Assert(_target.
_contentRoot
.IsOnChannel(channel));
278
bool created = _target.
_contentRoot
.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
280
targetsHandle = _target.
_contentRoot
.GetHandle(channel);
411
_target.
_contentRoot
.GetHandle(channel),
412
_target.
_contentRoot
);
430
targetHandle: _target.
_contentRoot
.GetHandle(channel),
431
contentRoot: _target.
_contentRoot
,
System\Windows\Media\VisualTarget.cs (5)
98
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
100
_contentRoot
.CreateOrAddRefOnChannel(this, channel, s_contentRootType);
201
_contentRoot
.ReleaseOnChannel(channel);
203
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
205
_contentRoot
.ReleaseOnChannel(outOfBandChannel);