Apply, modify, or delete an effect
You can add a visual or graphic effect, such as a drop shadow or blur effect, to any object in your project. If you apply an effect to a layout container (such as a Grid container), the effect will be applied to all the child objects in the container.
Drop shadow effect applied to a Grid layout container that contains three rectangles
Tip
By default, the rendering of effects on the artboard is turned off. To make effects appear, click Turn on rendering of Effects at the bottom of the artboard.
To apply an effect to an object
To add multiple effects, see "To apply more than one effect to an object," later in this topic.
To drag an effect from the Assets panel
In the Tools panel, click Assets .
In the Assets panel, click the Effects category.
The Effects tab shows all the effects that are available to your project. If you have imported third-party or custom effects, they will appear here, as will the default effects of Blend for Visual Studio 2012.
For more information, see Import third-party or custom effects.
Drag an effect from the Assets panel to an object on the artboard or in the Objects and Timeline panel.
The effect is visibly applied to the object, and the effect name appears as a child of the object in the Objects and Timeline panel.
To apply an effect by using the Properties panel
Select the object to which you want to apply the effect under Objects and Timeline.
In the Appearance category of the Properties panel, locate the Effect property.
Click the New button next to the Effect property.
In the Select Object dialog box, select the effect that you want to apply. For example, you could select the BlurEffect, and then click OK.
The Properties panel changes to show you the type of effect you have applied.
Warning
If an effect has already been applied to the object, clicking OK in the Select Object dialog box will replace the existing effect with your new one.
If an old bitmap effect created in an earlier version of Blend has already been applied the object, an error message will appear on the artboard and in the Results panel to let you know that the old bitmap effect and the new effect cannot be applied to the same object. You can either undo (Ctrl+Z) your change to remove the new effect, or you can reset the BitmapEffect property (visible in the advanced properties section of the Appearance category) to remove the old bitmap effect.
For more information, see Modify previously existing bitmap effects.
To apply more than one effect to an object
An individual object in your project can have only one effect applied to it at a time. However, you can group an object into a layout container and then add an effect to the layout container, resulting in two effects being applied to the object. You can nest objects in this way, adding different effects to each container to achieve the results of multiple effects.
Right-click the object to which you want to apply another effect, point to Group Into, and then click the name of a layout container, such as Border.
The object is wrapped by a layout object.
Apply an effect to the layout object. For more information, see "To apply an effect to an object," earlier in this topic.
The appearance of the object is updated to show the both the effect applied to itself and the effect applied to the parent object. You can repeat this procedure to add more effects.
To modify an effect
Do one of the following:
Under Objects and Timeline, expand the object to display the effect that is applied to it, and then select the effect.
The Properties panel displays the properties of the effect in the Miscellaneous category. (Third-party effects might display properties under a different category.)
Tip
You can select multiple effects of the same type to modify all their properties at the same time. Hold down the Ctrl or Shift key to select multiple effects.
On the artboard or under Objects and Timeline, select the object to which an effect is applied.
Under the Appearance category of the Properties panel, expand the Effect property to display its properties.
Type new values for the effect and view the changes on the artboard. For example, to change how far away a drop shadow appears from an object, change the value of the ShadowDepth property.
To delete an effect that is applied to an object
Do one of the following:
Under Objects and Timeline, expand the object to display the effect that is applied to it, and then press Delete.
Under Objects and Timeline, expand the object to display the effect that is applied to it, right-click the effect name, and then click Delete.
On the artboard or under Objects and Timeline, select the object to which an effect is applied, and then, under the Appearance category of the Properties panel, reset the Effect property.
For more information, see Reset a property to its default value.
See Also
Tasks
Copy, paste, or move an effect
Import third-party or custom effects