Implemented interface member:
property
NameScopeRef
Microsoft.Maui.Controls.Xaml.IElementNode.NameScopeRef
2 writes to NameScopeRef
Microsoft.Maui.Controls.Xaml (2)
NamescopingVisitor.cs (2)
25 => _scopes[node] = node.NameScopeRef = (parentNode == null || IsDataTemplate(node, parentNode) || IsStyle(node, parentNode) || IsVisualStateGroupList(node)) 29 public void Visit(RootNode node, INode parentNode) => _scopes[node] = node.NameScopeRef = new NameScopeRef { NameScope = new NameScope() };
5 references to NameScopeRef
Microsoft.Maui.Controls.Xaml (5)
CreateValuesVisitor.cs (5)
163 if (value is BindableObject bindableValue && node.NameScopeRef != (parentNode as IElementNode)?.NameScopeRef) 164 NameScope.SetNameScope(bindableValue, node.NameScopeRef.NameScope); 168 iElement.transientNamescope = node.NameScopeRef.NameScope; 185 node.NameScopeRef.NameScope = existingNs; 187 NameScope.SetNameScope(bindable, node.NameScopeRef?.NameScope);