Microsoft.VisualStudio.Imaging.Dpi Namespace

Visual Studio 2015
 

ClassDescription
System_CAPS_pubclassDpiPrescaledImageExtension

This class is derived from a MarkupExtension class that can be used to declare image sources in XAML and have the image pre-scaled for High DPI at zoom levels higher than 200%, using NearestNeighbor up to the largest multiple of 100%.

System_CAPS_pubclassDpiPrescaleImageSourceConverter

Converts an ImageSource into another ImageSource, pre-scaled on High DPI to the largest zoom multiple of 100% smaller than the DPI zoom.///

System_CAPS_pubclassDpiPrescaleThemedImageConverter

Converts an ImageSource into an Image element. If the input image ia a BitmapSource, the transformed BitmapSource has its halo color mapped to the given background color and is conditionally rendered as disabled. The resultant image is then pre-scaled on High DPI to the largest zoom multiple of 100% smaller than the DPI zoom. This converter chains the behavior of ThemedImageConverter and DpiPrescaleImageSourceConverter.

System_CAPS_pubclassDpiPrescaleThemedImageSourceConverter

Converts an ImageSource into another ImageSource. If the input image ia a BitmapSource, the transformed BitmapSource has its halo color mapped to the given background color and is conditionally rendered as disabled. The resultant image is then pre-scaled on High DPI to the largest zoom multiple of 100% smaller than the DPI zoom.This converter chains the behavior of ThemedImageSourceConverter and DpiPrescaleImageSourceConverter.

Return to top
Show: