UIElement.CacheMode 屬性

定義

取得或設定 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

保存 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.

適用於

另請參閱