27 references to _contentRoot
PresentationCore (27)
System\Windows\InterOp\HwndTarget.cs (3)
763
_contentRoot
.GetHandle(channel),
793
_contentRoot
.GetHandle(channel),
1700
_contentRoot
.GetHandle(channel),
System\Windows\Media\CompositionTarget.cs (11)
50
Debug.Assert(!
_contentRoot
.IsOnChannel(channel));
53
Debug.Assert(!
_contentRoot
.IsOnChannel(outOfBandChannel));
63
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
65
_contentRoot
.DuplicateHandle(outOfBandChannel, channel);
83
if (
_contentRoot
.IsOnChannel(channel))
85
_contentRoot
.ReleaseOnChannel(channel);
88
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
90
_contentRoot
.ReleaseOnChannel(outOfBandChannel);
428
rc.Initialize(channel,
_contentRoot
.GetHandle(channel));
467
if (_rootVisual != null &&
_contentRoot
.IsOnChannel(channel))
503
_contentRoot
.GetHandle(channel),
System\Windows\Media\HostVisual.cs (8)
209
targetsHandle = _target.
_contentRoot
.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel);
260
Debug.Assert(_target.
_contentRoot
.IsOnChannel(channel));
262
bool created = _target.
_contentRoot
.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
264
targetsHandle = _target.
_contentRoot
.GetHandle(channel);
395
_target.
_contentRoot
.GetHandle(channel),
396
_target.
_contentRoot
);
414
targetHandle: _target.
_contentRoot
.GetHandle(channel),
415
contentRoot: _target.
_contentRoot
,
System\Windows\Media\VisualTarget.cs (5)
93
bool resourceCreated =
_contentRoot
.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType);
95
_contentRoot
.CreateOrAddRefOnChannel(this, channel, s_contentRootType);
196
_contentRoot
.ReleaseOnChannel(channel);
198
if (
_contentRoot
.IsOnChannel(outOfBandChannel))
200
_contentRoot
.ReleaseOnChannel(outOfBandChannel);