Condividi tramite


Effects in the JavaScript API

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Silverlight includes several bitmap shader effects that can be applied to UI elements. This topic documents the availability of effects for JavaScript API in Silverlight.

Effects

You can apply single effects to UI elements by setting the value of the Effect property on that element. Typically this is done using property element syntax in XAML.

Rather than being presented as discrete pages in the JavaScript API Reference for Silverlight, this topic lists the relevant bitmap shader effect types and members that can be instantiated from XAML and then used with the JavaScript API. The list includes links to the managed API equivalents, which may provide XAML usage and examples

Effects Types and Properties

NoteNote:

In the managed API, there is also the base class ShaderEffect. However, this is not relevant for the JavaScript API. In order to write a custom shader, you must use the managed API.

See Also

Reference