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)
50Debug.Assert(!_contentRoot.IsOnChannel(channel)); 53Debug.Assert(!_contentRoot.IsOnChannel(outOfBandChannel)); 63bool resourceCreated = _contentRoot.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType); 65_contentRoot.DuplicateHandle(outOfBandChannel, channel); 83if (_contentRoot.IsOnChannel(channel)) 85_contentRoot.ReleaseOnChannel(channel); 88if (_contentRoot.IsOnChannel(outOfBandChannel)) 90_contentRoot.ReleaseOnChannel(outOfBandChannel); 428rc.Initialize(channel, _contentRoot.GetHandle(channel)); 467if (_rootVisual != null && _contentRoot.IsOnChannel(channel)) 503_contentRoot.GetHandle(channel),
System\Windows\Media\HostVisual.cs (8)
209targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 260Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 262bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 264targetsHandle = _target._contentRoot.GetHandle(channel); 395_target._contentRoot.GetHandle(channel), 396_target._contentRoot); 414targetHandle: _target._contentRoot.GetHandle(channel), 415contentRoot: _target._contentRoot,
System\Windows\Media\VisualTarget.cs (5)
93bool resourceCreated = _contentRoot.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType); 95_contentRoot.CreateOrAddRefOnChannel(this, channel, s_contentRootType); 196_contentRoot.ReleaseOnChannel(channel); 198if (_contentRoot.IsOnChannel(outOfBandChannel)) 200_contentRoot.ReleaseOnChannel(outOfBandChannel);