UIElement.CacheMode UIElement.CacheMode UIElement.CacheMode UIElement.CacheMode Property

定義

取得或設定 UIElement 的快取表示。Gets or sets a cached representation of the UIElement.

public:
 property System::Windows::Media::CacheMode ^ CacheMode { System::Windows::Media::CacheMode ^ get(); void set(System::Windows::Media::CacheMode ^ value); };
public System.Windows.Media.CacheMode CacheMode { get; set; }
member this.CacheMode : System.Windows.Media.CacheMode with get, set
Public Property CacheMode As CacheMode

屬性值

保存 CacheMode 之快取表示的 UIElementA CacheMode that holds a cached representation of the UIElement.

備註

設定CacheMode屬性,當您需要增加很多時間來呈現內容的效能。Set the CacheMode property when you need to increase performance for content that is time consuming to render. 如需詳細資訊,請參閱BitmapCacheFor more information, see BitmapCache.

適用於

另請參閱