5 instantiations of NameScope
PresentationFramework (5)
src\Framework\System\Windows\FrameworkTemplate.cs (1)
367private NameScope _nameScope = new NameScope();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7043bamlType.DefaultConstructor = delegate() { return new System.Windows.NameScope(); };
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
4526namescope = new NameScope();
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1424case KnownElements.NameScope: o = new System.Windows.NameScope(); break;
src\Framework\System\Windows\Style.cs (1)
118private NameScope _nameScope = new NameScope();
23 references to NameScope
PresentationFramework (21)
src\Framework\OtherAssemblyAttrs.cs (1)
14[assembly:TypeForwardedTo(typeof(System.Windows.NameScope))]
src\Framework\System\Windows\FrameworkElement.cs (1)
1771INameScope nameScope = NameScope.NameScopeFromObject(d);
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
791NameScope.SetNameScope(treeNode, templateNameScope);
src\Framework\System\Windows\FrameworkTemplate.cs (3)
367private NameScope _nameScope = new NameScope(); 1184if (NameScope.GetNameScope(rootObject) == null) 1186NameScope.SetNameScope(rootObject, nameScope);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
512case 420: t = () => typeof(NameScope); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
6406Type type = typeof(System.Windows.NameScope); 6407DependencyProperty dp = System.Windows.NameScope.NameScopeProperty; 6409this.GetXamlType(typeof(System.Windows.NameScope)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7041typeof(System.Windows.NameScope),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (7)
2986if ((NameScope.NameScopeFromObject(element) != null) && 0 != ParserContext.NameScopeStack.Count) 4375INameScope nameScope = NameScope.NameScopeFromObject(contextData); 4390INameScope nameScope = NameScope.NameScopeFromObject(stackData.ObjectData); 4518NameScope namescope = null; 4522namescope = NameScope.GetNameScope(doRoot) as NameScope; 4527NameScope.SetNameScope(doRoot, namescope);
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5964case KnownElements.NameScope: t = typeof(System.Windows.NameScope); break;
src\Framework\System\Windows\Style.cs (1)
118private NameScope _nameScope = new NameScope();
src\Framework\System\Windows\StyleHelper.cs (1)
2173rootNode.ClearValue(NameScope.NameScopeProperty);
WindowsBase (2)
Base\System\Windows\DependencyObject.cs (1)
47[System.Windows.Markup.NameScopeProperty("NameScope", typeof(System.Windows.NameScope))]
Base\System\Windows\NameScope.cs (1)
156typeof(NameScope));