I need glasses, everything is WPF blurred


blur[1] I was at Fabio Pedrosa's blog and I noticed Fabio had a post on how to do WPF blurring and it was shockingly simple.  Here is the code from his site to produce the image on the right.

<Window x:Class=“Blurred.Window1xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentationxmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml>
  <Grid Margin=“10>
        Lorem ipsum dolor sit ame . . . cinia. Cras ut augue.
        <BlurBitmapEffect />
    <Grid Margin=“100>
      <Rectangle Fill=“BlackRadiusX=“8RadiusY=“8/>
      <TextBlock Foreground=“WhiteMargin=“5>
        Lorem ipsum dolor sit ame . . . cinia. Cras ut augue.

I suggest checking it some of the other stuff on there too.  He has a clip of every windows startup sound too!



The Discussion

  • User profile image

    And you can animate these effects.


    good times!

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.