14 references to TryGetPropertyName
Microsoft.Maui.Controls.Build.Tasks (2)
SetPropertiesVisitor.cs (2)
588 && node.TryGetPropertyName(parentNode, out var propertyName) 596 && node.TryGetPropertyName(parentNode, out XmlName propertyName)
Microsoft.Maui.Controls.Xaml (12)
ApplyPropertiesVisitor.cs (3)
57 if (node.TryGetPropertyName(parentNode, out XmlName propertyName)) 91 if (node.TryGetPropertyName(parentNode, out XmlName propertyName) && propertyName == XmlName._CreateContent) 115 if (propertyName != XmlName.Empty || node.TryGetPropertyName(parentNode, out propertyName))
CreateValuesVisitor.cs (1)
198 if (node.TryGetPropertyName(parentNode, out XmlName name))
ExpandMarkupsVisitor.cs (1)
48 if (!markupnode.TryGetPropertyName(parentNode, out propertyName))
FillResourceDictionariesVisitor.cs (1)
46 if (typeof(ResourceDictionary).IsAssignableFrom(Context.Types[node]) && node.TryGetPropertyName(parentNode, out XmlName propertyName))
SimplifyOnPlatformVisitor.cs (3)
55 if (!node.TryGetPropertyName(parentNode, out XmlName name)) 62 if (!node.TryGetPropertyName(parentNode, out XmlName name)) 69 if (!node.TryGetPropertyName(parentNode, out XmlName name))
SimplifyTypeExtensionVisitor.cs (1)
39 => node.TryGetPropertyName(parentNode, out propertyName)
XamlServiceProvider.cs (2)
320 if (node.TryGetPropertyName(node.Parent, out XmlName name) 329 if (node.TryGetPropertyName(node.Parent, out XmlName name)