Skip to main content

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)

void NotifyHostedResourcesChanged(
ResourcesChangedEventArgs e
)
View Source

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.

See Also​

Reference​

IResourceHost Interface
Avalonia.Controls Namespace