NotifyHostedResourcesChanged Method
Notifies the resource host that one or more of its hosted resources has changed.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
void NotifyHostedResourcesChanged(
ResourcesChangedEventArgs e
)
Sub NotifyHostedResourcesChanged (
e As ResourcesChangedEventArgs
)
abstract NotifyHostedResourcesChanged :
e : ResourcesChangedEventArgs -> unit
Parameters
- ResourcesChangedEventArgs
- The event args.
Remarks
This method will be called automatically by the framework, you should not need to call this method yourself. It is called when the resources hosted by this element have changed, and is usually called by a resource dictionary or style hosted by the element in response to a resource being added or removed.