KernelType Enumeration

Describes the kernel used to create the effect.

Namespace:  System.Windows.Media.Effects
Assembly:  PresentationCore (in PresentationCore.dll)

public enum KernelType
<object property="enumerationMemberName" .../>

Member nameDescription
BoxA simple blur created with a square distribution curve.
GaussianA distributed curve that creates a smooth distribution for a blur.

This enumeration specifies the curve that is used to calculate the blur.

Performance Note: A Gaussian kernel creates a higher-quality blur but if performance is a concern, use the Box kernel because it uses less calculations.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft