I need glasses, everything is WPF blurred
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.Window1″
xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml”>
<Grid Margin=“10″>
<Grid>
<TextBlock>
Lorem ipsum dolor sit ame . . . cinia. Cras ut augue.
</TextBlock>
<Grid.BitmapEffect>
<BlurBitmapEffect />
</Grid.BitmapEffect>
</Grid>
<Grid Margin=“100″>
<Rectangle Fill=“Black” RadiusX=“8″ RadiusY=“8″ />
<TextBlock Foreground=“White” Margin=“5″>
Lorem ipsum dolor sit ame . . . cinia. Cras ut augue.
</TextBlock>
</Grid>
</Grid>
</Window>
I suggest checking it some of the other stuff on there too. He has a clip of every windows startup sound too!
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using