This example illustrates how to create a custom data provider for the Map control. For this, it is necessary to implement a MapDataProviderBase class descendant and assign it to the ImageTilesLayer.DataProvider property.
In this example a custom LocalTileSource class is implemented to get local tiles from tile images stored in the local cache.