Modifier

Partager via


Visual.VisualCacheMode Property

Definition

Gets or sets a cached representation of the Visual.

public:  property System::Windows::Media::CacheMode ^ VisualCacheMode {  protected public:
System::Windows::Media::CacheMode ^ get(); protected:
 void set(System::Windows::Media::CacheMode ^ value); };
public System.Windows.Media.CacheMode VisualCacheMode { protected internal get; protected set; }
member this.VisualCacheMode : System.Windows.Media.CacheMode with get, set
Public Property VisualCacheMode As CacheMode

Property Value

A CacheMode that holds a cached representation of the Visual.

Remarks

Set the VisualCacheMode property when you need to increase performance for content that is time-consuming to render. For more information, see BitmapCache.

Applies to

See also