'Declaration Public Shared ReadOnly SnapElementToDevicePixelsProperty As DependencyProperty
public static readonly DependencyProperty SnapElementToDevicePixelsProperty
The SnapsElementToDevicePixels is meant to be used on elements such as an Image that does not currently support SnapsToDevicePixels.
Note: The RenderTransform of the element is used so you should not set the RenderTransform on the same element on which you are setting SnapElementToDevicePixels to true. You may set the RenderTransform on an ancestor element. Also, you should not set this property on an element that is an ancestor of one or more elements that have this property set to true. In such a case the results are undefined since the child element's RenderTransform could be calculated before that of the ancestor element. Since this property should be set on discrete elements such as an Image, this scenario should not be required.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2