13 writes to Children
System.Xaml (13)
System\Xaml\XamlObjectReader.cs (13)
372Children = { GetPropertyValueInfo(value, attachedProperty, context) } 463Children = { keyValue } 540Children = 568Children = 611Children = 621Children = 650Children = { GetPropertyValueInfo(propertyValue, xamlProperty, context) } 658Children = { GetPropertyValueInfo(propertyValue, xamlProperty, context) } 1254Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, methodName) } } 1763Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, Name) } } 1830Children = 1856Children = 2081Children = { new ValueMarkupInfo() { XamlNode = new XamlNode(XamlNodeType.Value, value) } }
31 references to Children
System.Xaml (31)
System\Xaml\XamlObjectReader.cs (31)
305if (Children.Count > 1) { return false; } 308if (Children.Count == 0 || Children[0] is ValueMarkupInfo) { return true; } 310if (Children[0] is not ObjectMarkupInfo r) 327foreach (var ov in Children) 467itemsInfo.Children.Add(objInfo); 535if (itemsInfo is not null && itemsInfo.Children.Count != 0) 563if (itemsInfo is not null && itemsInfo.Children.Count != 0) 672if (memberInfo.Children.Count == 1) 674if (memberInfo.Children[0] is ObjectMarkupInfo objectInfo && objectInfo.Properties.Count == 1 && memberType == objectInfo.XamlNode.XamlType) 678if (objectInfo.Properties[0] is MemberMarkupInfo itemsMemberInfo && itemsMemberInfo.Children.Count > 0) 683if (itemsMemberInfo.Children[0] is not ObjectMarkupInfo itemInfo || itemInfo.XamlNode.XamlType is null || !itemInfo.XamlNode.XamlType.IsMarkupExtension) 755if (memberInfo.Children.Count == 1) 757var childOvInfo = (ObjectOrValueMarkupInfo) memberInfo.Children[0]; 791itemsInfo.Children.Add(unwrappedItemInfo ?? itemInfo); 1206if (propertyInfo is not null && propertyInfo.Children.Count != 0) 1317argumentsProperty.Children.Add(ForObject(argument, context)); 1352positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1363positionalParametersProperty.Children.Add(objectInfo); 1369positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, stringValue) }); 1374positionalParametersProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, argument) }); 1789foreach (var ov in propertyInfo.Children) 1817items.Children.Add(ForObject(item, context)); 1841if (items.Children.Count != 0) 2091if (propertyInfo.Children.Count == 1) 2093if (propertyInfo.Children[0] is ValueMarkupInfo valueInfo) 2104return propertyInfo.Children.Count == 1 && 2105propertyInfo.Children[0] is ObjectMarkupInfo objectInfo && 2134if (propertyInfo.Children.Count == 1) 2136var valueInfo = propertyInfo.Children[0] as ValueMarkupInfo; 2359nameProperty.Children.Add(new ValueMarkupInfo { XamlNode = new XamlNode(XamlNodeType.Value, Target.Name) });