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