Export (0) Print
Expand All

Effects in the JavaScript API

Silverlight

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.

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

BlurEffect

Radius

DropShadowEffect

Color

Direction

Opacity

ShadowDepth

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.

Community Additions

ADD
Show:
© 2014 Microsoft