Gets or sets a value that indicates the scale that is applied to the bitmap.
Assembly: PresentationCore (in PresentationCore.dll)
Use the BitmapCache at a multiple of the normal bitmap size. The normal size is determined by the local size of the element.property to render the
Values greater than 1 increase the resolution of the bitmap relative to the native resolution of the element, and values less than 1 decrease the resolution. For example, if theproperty is set to 2.0, and you apply a scale transform that enlarges the content by a factor of 2, the content will have the same visual quality as the same content with set to 1.0 and a transform scale of 1.
Whenis set to 0, no bitmap is rendered. Negative values are clamped to 0.
If you change this value, the cache is regenerated at the appropriate new resolution.
The following images show how the same content appears for different values of theproperty.
RenderAtScale = 1
RenderAtScale = 0.5
RenderAtScale = 0.2
The following image shows a zoom transform that is applied to an ancestor of the cached element. When the zoom is set to 1 andis set to 1, the image quality is almost the same as when is set to 2. But when zoom is greater than 1, setting to 2 will have better image quality.
RenderAtScale = 1.0
RenderAtScale = 2.0
Available since 4.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0