使用英语阅读

通过


UIElement.CacheMode 属性

定义

获取或设置 UIElement 的缓存表示形式。

public System.Windows.Media.CacheMode CacheMode { get; set; }

属性值

CacheMode,用于容纳 UIElement 的缓存表示形式。

注解

CacheMode如果需要提高呈现耗时的内容的性能,请设置 属性。 有关详细信息,请参阅 BitmapCache

适用于

产品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

另请参阅