2 implementations of CollectionItems
Microsoft.Maui.Controls.Xaml (2)
XamlNode.cs (2)
170 public List<INode> CollectionItems { get; } 259 public List<INode> CollectionItems { get; set; }
29 references to CollectionItems
Microsoft.Maui.Controls.Build.Tasks (19)
CompiledMarkupExtensions\ArrayExtension.cs (1)
17 return ProvideValue(typeTypeRef, node.CollectionItems, module, context);
CompiledMarkupExtensions\DataTemplateExtension.cs (2)
19 if (!node.Properties.TryGetValue(name, out INode typeNameNode) && node.CollectionItems.Any()) 20 typeNameNode = node.CollectionItems[0];
CompiledMarkupExtensions\StaticExtension.cs (1)
17 ntype = node.CollectionItems[0];
CompiledMarkupExtensions\StaticResourceExtension.cs (4)
40 foreach (var instruction in TryConvert(irn.CollectionItems[0] as ValueNode, eNode, vardefref, module, context)) 61 foreach (var instruction in TryConvert(irn2.CollectionItems[0] as ValueNode, eNode, vardefref, module, context)) 75 foreach (var rn in resourceDictionary.CollectionItems) 86 foreach (var instruction in TryConvert(irn3.CollectionItems[0] as ValueNode, eNode, vardefref, module, context))
CompiledMarkupExtensions\TypeExtension.cs (3)
19 if (!node.Properties.TryGetValue(name, out INode typeNameNode) && node.CollectionItems.Any()) 20 typeNameNode = node.CollectionItems[0]; 28 node.CollectionItems.Clear();
CompiledValueProviders\SetterValueProvider.cs (3)
17 ((IElementNode)node).CollectionItems.Count == 1) 18 valueNode = ((IElementNode)node).CollectionItems[0]; 51 var items = (node as IElementNode)?.CollectionItems;
CompiledValueProviders\StyleSheetProvider.cs (2)
24 ((IElementNode)node).CollectionItems.Count == 1) 25 styleNode = ((IElementNode)node).CollectionItems[0];
CreateObjectVisitor.cs (1)
65 foreach (var n in en.CollectionItems)
ExpandMarkupsVisitor.cs (1)
208 _node.CollectionItems.Add(childnode);
SetPropertiesVisitor.cs (1)
237 return parentList.CollectionItems.Contains(node);
Microsoft.Maui.Controls.Xaml (10)
ApplyPropertiesVisitor.cs (1)
242 return parentList.CollectionItems.Contains(node);
CreateValuesVisitor.cs (3)
345 if (node.CollectionItems.Count == 1 346 && node.CollectionItems[0] is ValueNode 347 && ((ValueNode)node.CollectionItems[0]).Value is string valuestring)
ExpandMarkupsVisitor.cs (1)
215 _node.CollectionItems.Add(childnode);
XamlParser.cs (5)
117 node.CollectionItems.Add(item); 124 if (node.CollectionItems.Count == 1 && node.CollectionItems[0] is ValueNode) 125 ((ValueNode)node.CollectionItems[0]).Value += reader.Value.Trim(); 127 node.CollectionItems.Add(new ValueNode(reader.Value.Trim(), (IXmlNamespaceResolver)reader));