BitmapCache.RenderAtScale Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the scale at which the object is rendered on the cached bitmap surface. Use this property for cached objects that are scaled to improve performance.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<BitmapCache RenderAtScale="double" .../>
Property Value
Type: System.DoubleThe scale at which the object is rendered as a cached bitmap. If you specify a negative number, an error will be thrown. The default is 1.
Dependency property identifier field: RenderAtScaleProperty
By default, when you set the CacheMode of a UIElement to a BitmapCache, the object is cached as a bitmap with a scale of 1 (its natural size). However, if you scale the cached UIElement, for example by using a ScaleTransform, set the RenderAtScale property to the same scale.