Visual.VisualCacheMode 属性

定义

获取或设置 Visual 的缓存表示形式。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

属性值

CacheMode,用于容纳 Visual 的缓存表示形式。A CacheMode that holds a cached representation of the Visual.

注解

如果需要提高呈现时间的内容的性能, 请设置属性。VisualCacheModeSet the VisualCacheMode property when you need to increase performance for content that is time-consuming to render. 有关详细信息,请参阅 BitmapCacheFor more information, see BitmapCache.

适用于

另请参阅