Skip to main content
All docs
V25.1
  • MapDataProviderBase.CacheOptions Property

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

    Namespace: DevExpress.Xpf.Map

    Assembly: DevExpress.Xpf.Map.v25.1.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:

    <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