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.

適用於

另請參閱