IResourceHost.

NotifyHostedResourcesChanged(ResourcesChangedEventArgs) Method

Summary

Notifies the resource host that one or more of its hosted resources has changed.
Namespace
Avalonia.Controls
Containing Type
IResourceHost

Syntax

void NotifyHostedResourcesChanged(ResourcesChangedEventArgs e)

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.

Parameters

Name Type Description
e ResourcesChangedEventArgs The event args.

Return Value

Type Description
void