Implemented interface member:
property
Properties
Microsoft.Maui.Controls.Xaml.IElementNode.Properties
1 write to Properties
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
161 Properties = new Dictionary<XmlName, INode>();
53 references to Properties
Microsoft.Maui.Controls.Build.Tasks (24)
CompiledConverters\BindablePropertyConverter.cs (1)
81 => ((node as ElementNode).Properties[new XmlName("", "TargetType")] as ValueNode)?.Value as string;
CompiledMarkupExtensions\StaticResourceExtension.cs (2)
20 if (!eNode.Properties.TryGetValue(name, out INode keyNode) && eNode.CollectionItems.Any()) 29 if (n.Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resourcesNode))
CreateObjectVisitor.cs (14)
57 var children = node.Properties.Values.ToList(); 78 foreach (var prop in node.Properties) 119 foreach (var prop in node.Properties) 132 if (node.Properties.ContainsKey(XmlName.xArguments) && !node.Properties.ContainsKey(XmlName.xFactoryMethod)) 142 else if (node.Properties.ContainsKey(XmlName.xFactoryMethod)) 144 var factoryMethod = (string)(node.Properties[XmlName.xFactoryMethod] as ValueNode).Value; 233 else if (ctorInfo != null && node.Properties.ContainsKey(XmlName.xArguments) && 234 !node.Properties.ContainsKey(XmlName.xFactoryMethod) && ctorInfo.MatchXArguments(node, typeref, Module, Context)) 286 if (!enode.Properties.ContainsKey(new XmlName("", propname))) 303 var node = enode.Properties[new XmlName("", propname)]; 326 if (!enode.Properties.ContainsKey(XmlName.xArguments)) 330 var node = enode.Properties[XmlName.xArguments] as ElementNode; 333 var list = enode.Properties[XmlName.xArguments] as ListNode;
MethodDefinitionExtensions.cs (3)
11 if (!enode.Properties.ContainsKey(XmlName.xArguments)) 15 var node = enode.Properties[XmlName.xArguments] as ElementNode; 19 var list = enode.Properties[XmlName.xArguments] as ListNode;
SetPropertiesVisitor.cs (4)
269 var typeNode = node.Properties[new XmlName("", "Type")]; 304 bool hasSource = node.Properties.ContainsKey(new XmlName("", "Source")); 434 if (!node.Properties.TryGetValue(new XmlName("", "Path"), out INode pathNode) && node.CollectionItems.Any()) 437 if (!node.Properties.TryGetValue(new XmlName("", "Mode"), out INode modeNode)
Microsoft.Maui.Controls.Xaml (29)
ApplyPropertiesVisitor.cs (4)
138 && node.Properties.ContainsKey(XmlName.xKey)) 140 if ((node.Properties[XmlName.xKey] is ValueNode valueNode)) 200 if (xpe == null && node.Properties.ContainsKey(XmlName.xKey)) 202 if ((node.Properties[XmlName.xKey] is ValueNode valueNode))
CreateValuesVisitor.cs (6)
67 else if (node.Properties.ContainsKey(XmlName.xArguments) || node.Properties.ContainsKey(XmlName.xFactoryMethod)) 132 foreach (var cnode in node.Properties.Values.ToList()) 151 if (!node.Properties.TryGetValue(XmlName.xKey, out INode xKey)) 154 node.Properties.Clear(); 158 node.Properties.Add(XmlName.xKey, xKey);
PruneIgnoredNodesVisitor.cs (5)
21 foreach (var propertyKvp in node.Properties) 39 foreach (var propertyKvp in node.Properties.ToList()) 44 node.Properties.Remove(propertyKvp.Key); 48 node.Properties.Remove(propertyKvp.Key); 61 node.Properties.Clear();
RemoveDuplicateDesignNodes.cs (5)
24 if (node.Properties == null || node.Properties.Count == 0) 26 var props = node.Properties.ToList(); 33 if (node.Properties.Remove(k)) 36 node.Properties.Remove(new XmlName("", k.LocalName));
SimplifyOnPlatformVisitor.cs (2)
52 if (node.Properties.TryGetValue(new XmlName("", Target), out INode targetNode) 53 || node.Properties.TryGetValue(new XmlName("", nameof(OnPlatformExtension.Default)), out targetNode))
SimplifyTypeExtensionVisitor.cs (2)
61 if (node.Properties.ContainsKey(typeNameXmlName) 62 && node.Properties[typeNameXmlName] is ValueNode { Value: string } propertyValueNode)
XamlNode.cs (4)
182 foreach (var node in Properties.Values.ToArray()) 216 foreach (var kvp in Properties) 217 clone.Properties.Add(kvp.Key, kvp.Value.Clone()); 239 foreach (var node in Properties.Values.ToList())
XamlParser.cs (1)
48 rootNode.Properties.AddRange(attributes);