All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MapDataProviderBase.CacheOptions Property

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.1.dll

Declaration

public CacheOptions CacheOptions { get; set; }
Public Property CacheOptions As CacheOptions

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