Grayscale effect with Microsoft.Expression.Effects ;)

<Image Source="../Images/ChartSample.png" Stretch="Uniform" Margin="5">
    <Image.Effect>
        <ee:ColorToneEffect DarkColor="Black" LightColor="White" ToneAmount="0" Desaturation="1" />
    </Image.Effect>
</Image>

The “ee” namespace definition:

xmlns:ee=”http://schemas.microsoft.com/expression/2010/effects&#8221;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s