Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
UIElement Class
 CacheMode Property
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
UIElement..::.CacheMode Property

Gets or sets a cached representation of the UIElement.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
Visual Basic (Declaration)
Public Property CacheMode As CacheMode
    Get
    Set
Visual Basic (Usage)
Dim instance As UIElement
Dim value As CacheMode

value = instance.CacheMode

instance.CacheMode = value
C#
public CacheMode CacheMode { get; set; }
Visual C++
public:
property CacheMode^ CacheMode {
    CacheMode^ get ();
    void set (CacheMode^ value);
}
F#
member CacheMode : CacheMode with get, set

Property Value

Type: System.Windows.Media..::.CacheMode
A CacheMode that holds a cached representation of the UIElement.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker