Gets or sets a cached representation of the UIElement.
Public Property CacheMode As CacheMode Get Set
Dim instance As UIElement Dim value As CacheMode value = instance.CacheMode instance.CacheMode = value
public CacheMode CacheMode { get; set; }
public: property CacheMode^ CacheMode { CacheMode^ get (); void set (CacheMode^ value); }
member CacheMode : CacheMode with get, set
Set the CacheMode property when you need to increase performance for content that is time-consuming to render. For more information, see BitmapCache.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003