CacheMode Property
Description
Get/set the cache mode for the current data provider.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property CacheMode() As [CalendarDataProviderCacheMode](XtremeCalendarControl~Enumerations~CalendarDataProviderCacheMode_EN.md)
Remarks
CacheMode uses one of the CalendarDataProviderCacheMode flags to set the cache mode for the current data provider.
CacheMode is used for slow data providers to increase their speed. For example, when a database data provider needs to retrieve day events, it creates a specific query, executes it, and parses the results. These operations could be executed thousands of times, for example, when drawing each day in a view. The cache itself is a standard memory data provider. CalendarDataProviderCacheMode describes the algorithms for cache updating and clearing.
ClearCache is used to clear the cache for the common data provider.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.