27 references to MauiUri
Microsoft.Maui.Controls.Build.Tasks (12)
CompiledConverters\BindablePropertyConverter.cs (7)
37 if ((node.Parent as ElementNode)?.XmlType.NamespaceUri == XamlParser.MauiUri 41 if (parent.XmlType.NamespaceUri == XamlParser.MauiUri && 49 else if (parent.XmlType.NamespaceUri == XamlParser.MauiUri && parent.XmlType.Name == nameof(VisualState)) 54 else if ((node.Parent as ElementNode)?.XmlType.NamespaceUri == XamlParser.MauiUri && (node.Parent as ElementNode)?.XmlType.Name == nameof(Trigger)) 89 if (!(parent.Parent is IElementNode target) || target.XmlType.NamespaceUri != XamlParser.MauiUri || target.XmlType.Name != nameof(VisualStateGroup)) 94 || ((target.Parent as IElementNode)?.XmlType.NamespaceUri == XamlParser.MauiUri 101 if (target.XmlType.NamespaceUri == XamlParser.MauiUri && target.XmlType.Name == nameof(Setter))
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
29 if (n.Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resourcesNode))
CompiledValueProviders\SetterValueProvider.cs (1)
16 !((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Value"), out valueNode) &&
CompiledValueProviders\StyleSheetProvider.cs (2)
19 ((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Source"), out sourceNode); 23 !((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Style"), out styleNode) &&
SetPropertiesVisitor.cs (1)
468 && n.XmlType.NamespaceUri == XamlParser.MauiUri)
Microsoft.Maui.Controls.Xaml (15)
Properties\AssemblyInfo.cs (1)
23[assembly: XmlnsDefinition(Microsoft.Maui.Controls.Xaml.XamlParser.MauiUri, "Microsoft.Maui.Controls.Xaml")]
RemoveDuplicateDesignNodes.cs (2)
32 var k = new XmlName(XamlParser.MauiUri, key.LocalName); 35 if (node.NamespaceResolver.LookupPrefix(XamlParser.MauiUri) == "")
SimplifyOnPlatformVisitor.cs (1)
50 if (node.XmlType.Name == nameof(OnPlatformExtension) && node.XmlType.NamespaceUri == XamlParser.MauiUri)
SimplifyTypeExtensionVisitor.cs (4)
51 static bool IsStyle(XmlType type) => type.Name == nameof(Style) && type.NamespaceUri == XamlParser.MauiUri; 52 static bool IsTrigger(XmlType type) => type.Name == nameof(Trigger) && type.NamespaceUri == XamlParser.MauiUri; 53 static bool IsDataTrigger(XmlType type) => type.Name == nameof(DataTrigger) && type.NamespaceUri == XamlParser.MauiUri; 54 static bool IsMultiTrigger(XmlType type) => type.Name == nameof(MultiTrigger) && type.NamespaceUri == XamlParser.MauiUri;
XamlLoader.cs (6)
165 if (!rNode.Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resources)) 173 if (resources is ElementNode resourcesEN && (resourcesEN.XmlType.NamespaceUri != XamlParser.MauiUri || resourcesEN.XmlType.Name != nameof(ResourceDictionary))) 175 resources = new ElementNode(new XmlType(XamlParser.MauiUri, nameof(ResourceDictionary), null), XamlParser.MauiUri, rootNode.NamespaceResolver); 180 resources = new ElementNode(new XmlType(XamlParser.MauiUri, nameof(ResourceDictionary), null), XamlParser.MauiUri, rootNode.NamespaceResolver);
XamlParser.cs (1)
102 else if (node.XmlType.NamespaceUri == MauiUri &&