Interface IResourceHost
Represents an element which hosts resources.
[NotClientImplementable]
public interface IResourceHost : IResourceNode
- Inherited Members
- Extension Methods
Remarks
This interface is implemented by StyledElement and Application
.
Methods
NotifyHostedResourcesChanged(ResourcesChangedEventArgs)
Notifies the resource host that one or more of its hosted resources has changed.
void NotifyHostedResourcesChanged(ResourcesChangedEventArgs e)
Parameters
e
ResourcesChangedEventArgsThe 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.
Events
ResourcesChanged
Raised when the resources change on the element or an ancestor of the element.
event EventHandler<ResourcesChangedEventArgs>? ResourcesChanged