Skip to main content

ICustomResourceLoader

Kind: interface

EXPERIMENTAL

Applications can implement this interface to provide custom values for native platform colors.

Methods

GetResource

void GetResource(string resourceId, ResourceType resourceType, CustomResourceResult result)

Called when a theme is queried for a specific resource. resourceId will be the name of the platform color. Implementations should return an empty result if the resource is not being overridden.

Events

ResourcesChanged

Implementations should raise this event if the platform colors will return new values

Type: EventHandler

Referenced by