Skip to content

UIElementMarkupExtensions.CacheMode<T> method

Sets how this element’s rendering is cached, or null for no cache.

public static T CacheMode<T>(this T target, CacheMode? value)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
value Value assigned to CacheMode.

The same element for chaining.

Sets: UIElement.CacheMode