17 references to OnParentResourcesChanged
Microsoft.Maui.Controls (17)
Application\Application.cs (3)
48
systemResources.ValuesChanged +=
OnParentResourcesChanged
;
109
((IElementDefinition)this).RemoveResourcesChangedListener(MainPage.
OnParentResourcesChanged
);
117
((IElementDefinition)this).AddResourcesChangedListener(value.
OnParentResourcesChanged
);
AppThemeBinding.cs (2)
19
((IElementDefinition)parent)?.AddResourcesChangedListener(
OnParentResourcesChanged
);
35
((IElementDefinition)_parent)?.RemoveResourcesChangedListener(
OnParentResourcesChanged
);
Border\Border.cs (2)
121
((IElementDefinition)this).AddResourcesChangedListener(stroke.
OnParentResourcesChanged
);
134
((IElementDefinition)this).RemoveResourcesChangedListener(stroke.
OnParentResourcesChanged
);
Element\Element.cs (2)
405
element.RemoveResourcesChangedListener(
OnParentResourcesChanged
);
417
((IElementDefinition)RealParent).AddResourcesChangedListener(
OnParentResourcesChanged
);
Shapes\Shape.cs (4)
208
((IElementDefinition)this).AddResourcesChangedListener(fill.
OnParentResourcesChanged
);
221
((IElementDefinition)this).RemoveResourcesChangedListener(fill.
OnParentResourcesChanged
);
243
((IElementDefinition)this).AddResourcesChangedListener(stroke.
OnParentResourcesChanged
);
256
((IElementDefinition)this).RemoveResourcesChangedListener(stroke.
OnParentResourcesChanged
);
VisualElement\VisualElement.cs (4)
325
((IElementDefinition)this).AddResourcesChangedListener(background.
OnParentResourcesChanged
);
337
((IElementDefinition)this).RemoveResourcesChangedListener(background.
OnParentResourcesChanged
);
2154
((IElementDefinition)this).AddResourcesChangedListener(shadow.
OnParentResourcesChanged
);
2164
((IElementDefinition)this).RemoveResourcesChangedListener(shadow.
OnParentResourcesChanged
);