VisualTreeHelper.GetCacheMode(Visual) 方法

定义

检索指定的 Visual 的缓存表示形式。

public:
 static System::Windows::Media::CacheMode ^ GetCacheMode(System::Windows::Media::Visual ^ reference);
public static System.Windows.Media.CacheMode GetCacheMode (System.Windows.Media.Visual reference);
static member GetCacheMode : System.Windows.Media.Visual -> System.Windows.Media.CacheMode
Public Shared Function GetCacheMode (reference As Visual) As CacheMode

参数

reference
Visual

要获取其 VisualCacheMode

返回

CacheMode

referenceCacheMode

适用于

另请参阅