Change the transparency of an object (Blend for Visual Studio)

You may want to change the transparency, or opacity, of an entire object in Blend for Visual Studio 2012. Rather than changing each individual visual attribute on an object by using the alpha values (for example, by changing both the stroke and the fill alpha values), you can simply change the opacity.

To change the transparency of an object

  1. Select the object for which you want to change the transparency.

  2. Under Appearance, in the Properties panel, select a percentage value (from 0 percent to 100 percent) by using the slider next to Opacity.

    JJ155050.a5f77efb-94c4-4746-9b51-3fcb35d530a1(en-us,VS.110).png

    Note

    You can animate the Opacity value to create a smooth transition from invisible to visible.

    For information about animating properties, see Show or hide an object in your application (Blend for Visual Studio).

To change the transparency of a brush property

  1. Select the object for which you want to change the transparency.

  2. Under Brush, in the Properties panel, click one of the brush properties (such as Fill or Foreground), and then select a percentage value (from 0 percent to 100 percent) by using the slider next to the Alpha property.

    JJ155050.87ccf3e4-01f4-4b47-b77f-d2099e400983(en-us,VS.110).png

    Note

    You will only see the Alpha property under Brush if the brush is set to a local value instead of a color resource or template binding.

See Also

Tasks

Show or hide an object in your application (Blend for Visual Studio)