Implemented interface member:
property
Parent
Microsoft.Maui.Controls.Xaml.INode.Parent
15 references to Parent
Microsoft.Maui.Controls.Build.Tasks (13)
CompiledConverters\BindablePropertyConverter.cs (8)
36
var parent = node.
Parent
?.Parent as IElementNode ?? (node.
Parent
?.Parent as IListNode)?.Parent as IElementNode;
37
if ((node.
Parent
as ElementNode)?.XmlType.NamespaceUri == XamlParser.MauiUri
38
&& ((node.
Parent
as ElementNode)?.XmlType.Name == nameof(Setter)
39
|| (node.
Parent
as ElementNode)?.XmlType.Name == nameof(PropertyCondition)))
54
else if ((node.
Parent
as ElementNode)?.XmlType.NamespaceUri == XamlParser.MauiUri && (node.
Parent
as ElementNode)?.XmlType.Name == nameof(Trigger))
56
typeName = GetTargetTypeName(node.
Parent
);
CompiledConverters\FontSizeTypeConverter.cs (1)
30
var parent = node.
Parent
as IElementNode;
CompiledConverters\RDSourceTypeConverter.cs (1)
24
var rdNode = node.
Parent
as IElementNode;
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
98
n = n.
Parent
as ElementNode;
SetNamescopesAndRegisterNamesVisitor.cs (1)
96
static bool IsVisualStateGroupList(ElementNode node) => node != null && node.XmlType.Name == "VisualStateGroup" && node.
Parent
is IListNode;
SetPropertiesVisitor.cs (1)
578
{ Parent: ListNode {
Parent
: IElementNode parentNode } } => parentNode,
Microsoft.Maui.Controls.Xaml (2)
NamescopingVisitor.cs (1)
44
static bool IsVisualStateGroupList(ElementNode node) => node?.XmlType.Name == "VisualStateGroup" && node?.
Parent
is IListNode;
XamlServiceProvider.cs (1)
312
{ Parent: ListNode {
Parent
: IElementNode parentNode } } => parentNode,