SamplingMode Enumeration
Collapse the table of content
Expand the table of content

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 nameDescription
AutoThe system selects the most appropriate sampling mode.
NearestNeighborUse nearest neighbor sampling.
BilinearUse 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

Windows Phone

Show:
© 2017 Microsoft