Click or drag to resize
OpacityEffectIsSupported Property
Checks whether OpacityEffect is supported on the current operating system version.

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static bool IsSupported { get; }

Property Value

Type: Boolean
Remarks

If the application is currently running on an operating system that doesn't support OpacityEffect then calls to create this effect will fail.

If you know that your application will never run on an operating system that doesn't support OpacityEffect then there is no need to perform this check.

See Also