This documentation is archived and is not being maintained.
SamplingMode Enumeration
Visual Studio 2008
Updated: July 2008
Indicates the way Brush-valued dependency properties are sampled in a custom shader effect.
Assembly: PresentationCore (in PresentationCore.dll)
Set the SamplingMode when you define a dependency property for a ShaderEffect.
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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: