This documentation is archived and is not being maintained.
SamplingMode Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation . ]
Specifies how dependency properties with Brush values are sampled in a custom shader effect.
Namespace:
System.Windows.Media.Effects
Assembly:
System.Windows (in System.Windows.dll)
No code example is currently available or this language may not be supported.
Member name Description Auto The system selects the most appropriate sampling mode. NearestNeighbor Use nearest neighbor sampling. Bilinear Use bilinear sampling.
The rendering system automatically selects the appropriate sampling mode, depending on whether hardware or software rendering is enabled, whether the destination texture is rotated, and other factors.
Windows Phone OS Supported in: 8.1, 8.0, 7.1, 7.0