Rediger

Del via


ContainerVisual.CacheMode Property

Definition

Gets or sets a cached representation of the ContainerVisual.

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

Property Value

A CacheMode that holds a cached representation of the ContainerVisual.

Remarks

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

Applies to

See also