UIElement.CacheMode property

Expand
0 out of 1 rated this helpful - Rate this topic

UIElement.CacheMode property

[This documentation is preliminary and is subject to change.]

Gets or sets a value that indicates that rendered content should be cached when possible.

Syntax


public CacheMode CacheMode { get; set; }


<uiElement CacheMode="cacheModeIdentifier />

XAML Values

cacheModeIdentifier

Exactly one bitmap cache mode identified by its string name, which is the name of the backing class expressed as a string. This usage involves a type converter. Technically, the object model could accept any CacheMode object value, but BitmapCache is the only existing practical derived classes in the core API.

Property value

Type: CacheMode

A value that indicates that rendered content should be cached when possible. If you specify a value of CacheMode, rendering operations from RenderTransform and Opacity execute on the graphics processing unit (GPU), if available. The default is null, which does not enable a cached composition mode.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

UIElement

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD