Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapDataProviderBase.CacheOptions Property

Gets or sets the settings for the provider’s cache.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public CacheOptions CacheOptions { get; set; }

#Property Value

Type Description
CacheOptions

A storage for cache settings.

#Remarks

The following example configures cache options for a BingMapDataProvider:

<dxm:MapControl x:Name="mapControl">
    <dxm:ImageLayer>
        <dxm:BingMapDataProvider>
            <dxm:BingMapDataProvider.CacheOptions>
                <dxm:CacheOptions Directory="D://CachedData" KeepInterval="01:00:00"/>
            </dxm:BingMapDataProvider.CacheOptions>
        </dxm:BingMapDataProvider>
    </dxm:ImageLayer>
</dxm:MapControl>
See Also