简体   繁体   中英

Blur effect in Windows Phone with Silverlight

I created a project Windows Phone with Silverlight.

How can I add blur effect in this image?

<Image Source="Images\myImage.png" Stretch="Fill">
        <Image.Effect>
            <BlurEffect Radius="20"/>
        </Image.Effect>
</Image>

Blur isn't implemented in WP8.1.

Best route is to 'borrow' the code from the blog at http://www.blendrocks.com/code-blend/2015/1/29/implementing-image-blur-in-a-windows-universal-app .

I'm not going to plagiarize his code here, but head over to his blog and check it out. Last updated Jan 2015 so at this point its fairly recent.

Hope this helps. Healy in Tampa

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM