2 implementations of AddResourcesChangedListener
Microsoft.Maui.Controls (2)
Element\Element.cs (1)
372 void IElementDefinition.AddResourcesChangedListener(Action<object, ResourcesChangedEventArgs> onchanged)
ElementTemplate.cs (1)
40 void IElementDefinition.AddResourcesChangedListener(Action<object, ResourcesChangedEventArgs> onchanged)
9 references to AddResourcesChangedListener
Microsoft.Maui.Controls (9)
Application\Application.cs (1)
117 ((IElementDefinition)this).AddResourcesChangedListener(value.OnParentResourcesChanged);
AppThemeBinding.cs (1)
19 ((IElementDefinition)parent)?.AddResourcesChangedListener(OnParentResourcesChanged);
Border\Border.cs (1)
121 ((IElementDefinition)this).AddResourcesChangedListener(stroke.OnParentResourcesChanged);
Element\Element.cs (1)
417 ((IElementDefinition)RealParent).AddResourcesChangedListener(OnParentResourcesChanged);
ElementTemplate.cs (1)
62 ((IElementDefinition)_parent).AddResourcesChangedListener(OnResourcesChanged);
Shapes\Shape.cs (2)
208 ((IElementDefinition)this).AddResourcesChangedListener(fill.OnParentResourcesChanged); 243 ((IElementDefinition)this).AddResourcesChangedListener(stroke.OnParentResourcesChanged);
VisualElement\VisualElement.cs (2)
325 ((IElementDefinition)this).AddResourcesChangedListener(background.OnParentResourcesChanged); 2154 ((IElementDefinition)this).AddResourcesChangedListener(shadow.OnParentResourcesChanged);