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)
81Debug.Assert(!_contentRoot.IsOnChannel(channel)); 84Debug.Assert(!_contentRoot.IsOnChannel(outOfBandChannel)); 94bool resourceCreated = _contentRoot.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType); 96_contentRoot.DuplicateHandle(outOfBandChannel, channel); 115if (_contentRoot.IsOnChannel(channel)) 117_contentRoot.ReleaseOnChannel(channel); 120if (_contentRoot.IsOnChannel(outOfBandChannel)) 122_contentRoot.ReleaseOnChannel(outOfBandChannel); 477rc.Initialize(channel, _contentRoot.GetHandle(channel)); 521if (_rootVisual.Value != null && _contentRoot.IsOnChannel(channel)) 557_contentRoot.GetHandle(channel),
Core\CSharp\System\Windows\Media\HostVisual.cs (6)
221targetsHandle = _target._contentRoot.DuplicateHandle(_target.OutOfBandChannel, (DUCE.Channel)channel); 272Debug.Assert(_target._contentRoot.IsOnChannel(channel)); 274bool created = _target._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType); 276targetsHandle = _target._contentRoot.GetHandle(channel); 391_target._contentRoot.GetHandle(channel), 401_target._contentRoot.ReleaseOnChannel(channel);
Core\CSharp\System\Windows\Media\VisualTarget.cs (5)
105bool resourceCreated = _contentRoot.CreateOrAddRefOnChannel(this, outOfBandChannel, s_contentRootType); 107_contentRoot.CreateOrAddRefOnChannel(this, channel, s_contentRootType); 213_contentRoot.ReleaseOnChannel(channel); 215if (_contentRoot.IsOnChannel(outOfBandChannel)) 217_contentRoot.ReleaseOnChannel(outOfBandChannel);