ElementExtensions.Cached<T> method
이 콘텐츠는 아직 번역되지 않았습니다.
Enables (or disables) bitmap caching of the element’s rendered output. The cached bitmap is blitted each frame until the element’s content, size, or DPI changes; the visual tree stays live. Equivalent to assigning a BitmapCache to CacheMode.
public static T Cached<T>(this T element, bool cached = true) where T : UIElement| parameter | description |
|---|---|
| T | Visual type. |
| element | Target element. |
| cached | Whether to enable bitmap caching. |
Return Value
Section titled “Return Value”The element for chaining.
See Also
Section titled “See Also”- class UIElement
- class ElementExtensions
- namespace Aprillz.MewUI.Controls