Gets or sets a value that indicates that rendered content should be cached when possible.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property CacheMode As System.Windows.Media.CacheMode |
| C# | |
|---|
public System.Windows.Media.CacheMode CacheMode {get; set;} |
Property Value
A value that indicates that rendered content should be cached when possible. If you specify a value of
System.Windows.Media.CacheMode, rendering operations from
System.Windows.UIElement.RenderTransform and
System.Windows.UIElement.Opacity execute on the graphics processing unit (GPU), if available. The default is null, which does not enable a cached composition mode.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also