VisualTreeHelper.GetCacheMode(Visual) Method

Definition

Retrieves the cached representation of the specified 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

Parameters

reference
Visual

The Visual to get the CacheMode for.

Returns

The CacheMode for reference.

Applies to

See also