1 implementation of Properties
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
168
public Dictionary<XmlName, INode>
Properties
{ get; }
65 references to Properties
Microsoft.Maui.Controls.Build.Tasks (34)
CompiledConverters\BindablePropertyConverter.cs (1)
102
return ((target?.Parent as IElementNode)?.
Properties
[new XmlName("", "TargetType")] as ValueNode)?.Value as string;
CompiledMarkupExtensions\ArrayExtension.cs (1)
13
var typeNode = node.
Properties
[new XmlName("", "Type")] as IElementNode;
CompiledMarkupExtensions\DataTemplateExtension.cs (1)
19
if (!node.
Properties
.TryGetValue(name, out INode typeNameNode) && node.CollectionItems.Any())
CompiledMarkupExtensions\StaticExtension.cs (1)
16
if (!node.
Properties
.TryGetValue(new XmlName("", "Member"), out ntype))
CompiledMarkupExtensions\StaticResourceExtension.cs (3)
33
&& irn.
Properties
.TryGetValue(XmlName.xKey, out INode xKeyNode)
54
&& irn2.
Properties
.TryGetValue(XmlName.xKey, out INode xKeyNode2)
78
&& irn3.
Properties
.TryGetValue(XmlName.xKey, out INode xKeyNode3)
CompiledMarkupExtensions\TypeExtension.cs (3)
19
if (!node.
Properties
.TryGetValue(name, out INode typeNameNode) && node.CollectionItems.Any())
25
if (!node.
Properties
.ContainsKey(name))
27
node.
Properties
[name] = typeNameNode;
CompiledValueProviders\SetterValueProvider.cs (3)
15
if (!((IElementNode)node).
Properties
.TryGetValue(new XmlName("", "Value"), out valueNode) &&
16
!((IElementNode)node).
Properties
.TryGetValue(new XmlName(XamlParser.MauiUri, "Value"), out valueNode) &&
20
var bpNode = ((ValueNode)((IElementNode)node).
Properties
[new XmlName("", "Property")]);
CompiledValueProviders\StyleSheetProvider.cs (4)
17
((IElementNode)node).
Properties
.TryGetValue(new XmlName("", "Source"), out sourceNode);
19
((IElementNode)node).
Properties
.TryGetValue(new XmlName(XamlParser.MauiUri, "Source"), out sourceNode);
22
if (!((IElementNode)node).
Properties
.TryGetValue(new XmlName("", "Style"), out styleNode) &&
23
!((IElementNode)node).
Properties
.TryGetValue(new XmlName(XamlParser.MauiUri, "Style"), out styleNode) &&
CreateObjectVisitor.cs (1)
63
foreach (var n in en.
Properties
.Values.ToList())
ExpandMarkupsVisitor.cs (3)
51
((IElementNode)parentNode).
Properties
[propertyName] = node;
73
foreach (var kvp in parentElement.
Properties
)
212
_node.
Properties
[childname] = childnode;
SetFieldVisitor.cs (1)
61
if (parentElement != null && parentElement.
Properties
.TryGetValue(XmlName.xName, out xNameNode) && xNameNode == node)
SetNamescopesAndRegisterNamesVisitor.cs (2)
92
=> parentNode is IElementNode parentElement && parentElement.
Properties
.TryGetValue(XmlName._CreateContent, out INode createContent) && createContent == node;
99
=> parentNode is IElementNode parentElement && parentElement.
Properties
.TryGetValue(XmlName.xName, out INode xNameNode) && xNameNode == node;
SetPropertiesVisitor.cs (6)
223
foreach (var kvp in parentElement.
Properties
)
458
if (n != skipNode && n.
Properties
.TryGetValue(XmlName.xDataType, out dataTypeNode))
1651
if (node.
Properties
.ContainsKey(XmlName.xKey))
1653
var valueNode = node.
Properties
[XmlName.xKey] as ValueNode ?? throw new BuildException(XKeyNotLiteral, lineInfo, null);
1704
if (node.
Properties
.ContainsKey(XmlName.xKey))
1707
var valueNode = node.
Properties
[XmlName.xKey] as ValueNode ?? throw new BuildException(XKeyNotLiteral, lineInfo, null);
SetResourcesVisitor.cs (4)
54
&& !((IElementNode)parentNode).
Properties
.ContainsKey(XmlName.xKey))
58
&& !((IElementNode)parentNode.Parent).
Properties
.ContainsKey(XmlName.xKey))
86
&& !((IElementNode)parentNode).
Properties
.ContainsKey(XmlName.xKey))
90
&& !((IElementNode)parentNode.Parent).
Properties
.ContainsKey(XmlName.xKey))
Microsoft.Maui.Controls.Xaml (31)
ApplyPropertiesVisitor.cs (2)
349
var xKey = node is IElementNode eNode && eNode.
Properties
.ContainsKey(XmlName.xKey) ? ((ValueNode)eNode.
Properties
[XmlName.xKey]).Value as string : null;
CreateValuesVisitor.cs (6)
219
if (!node.
Properties
.ContainsKey(new XmlName("", propname)))
245
if (!node.
Properties
.ContainsKey(XmlName.xFactoryMethod))
251
var factoryMethod = ((string)((ValueNode)node.
Properties
[XmlName.xFactoryMethod]).Value);
286
if (!enode.
Properties
.ContainsKey(XmlName.xArguments))
288
var node = enode.
Properties
[XmlName.xArguments];
318
if (!enode.
Properties
.TryGetValue(name, out INode node))
ExpandMarkupsVisitor.cs (2)
60
((IElementNode)parentNode).
Properties
[propertyName] = node;
219
_node.
Properties
[childname] = childnode;
FillResourceDictionariesVisitor.cs (4)
61
&& !((IElementNode)parentNode).
Properties
.ContainsKey(XmlName.xKey))
65
&& !((IElementNode)parentNode.Parent).
Properties
.ContainsKey(XmlName.xKey))
84
&& !((IElementNode)parentNode).
Properties
.ContainsKey(XmlName.xKey))
88
&& !((IElementNode)parentNode.Parent).
Properties
.ContainsKey(XmlName.xKey))
NamescopingVisitor.cs (1)
37
&& parentElement.
Properties
.TryGetValue(XmlName._CreateContent, out var createContent)
NodeExtensions.cs (1)
14
foreach (var kvp in parentElement.
Properties
)
RegisterXNamesVisitor.cs (1)
76
=> parentNode is IElementNode parentElement && parentElement.
Properties
.TryGetValue(XmlName.xName, out INode xNameNode) && xNameNode == node;
SimplifyOnPlatformVisitor.cs (3)
58
parentEnode.
Properties
[name] = targetNode;
65
parentEnode.
Properties
[name] = node.CollectionItems[0];
74
parentEnode.
Properties
.Remove(name);
SimplifyTypeExtensionVisitor.cs (1)
35
(parentNode as IElementNode).
Properties
[propertyName] = typeNameValueNode;
XamlLoader.cs (1)
165
if (!rNode.
Properties
.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resources))
XamlNode.cs (1)
196
parentElement.
Properties
.TryGetValue(XmlName._CreateContent, out INode createContent) &&
XamlParser.cs (7)
79
if (node.
Properties
.ContainsKey(name))
89
node.
Properties
.Add(name, prop);
94
if (node.
Properties
.ContainsKey(XmlName.xArguments))
99
node.
Properties
.Add(XmlName.xArguments, prop);
105
if (node.
Properties
.ContainsKey(XmlName._CreateContent))
110
node.
Properties
.Add(XmlName._CreateContent, prop);
171
((IElementNode)node).
Properties
.AddRange(attributes);
XamlServiceProvider.cs (1)
359
if (n != skipNode && n.
Properties
.TryGetValue(XmlName.xDataType, out dataTypeNode))