Click or drag to resize
CanvasDeviceMaximumCacheSize Property
Sets the maximum amount of memory (in bytes) that can be accumulated for cached images and intermediate surfaces.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
public ulong MaximumCacheSize { get; set; }

Property Value

Type: UInt64
Note that Win2D may exceed the maximum cache memory set with this property within a single frame, if that is necessary to render the frame.
See Also