WPF XAML - Glassy effect for image
Is it possible to create a glassy display of an image like the thumbnails
that are contained in this example (for example the thumbnail with the
image of Gordon Ramsay has a nice blue glass effect for the image that i
want to recreate)?
Would you knoe how I should go about tackling it? DropShadowBitmapEffect and
<Border BorderThickness="1"
Height="94" Width="175.5" Margin="3,3,0,3"
HorizontalAlignment="Left" VerticalAlignment="Center">
<Border.BorderBrush>
<SolidColorBrush Color="#FFF9F9F9" Opacity="0.5"/>
</Border.BorderBrush>
<Border.BitmapEffect>
<DropShadowBitmapEffect ShadowDepth="1"
Softness="0.305" Color="#FFF9F9F9"/>
</Border.BitmapEffect>
<Image Name="myImg" Stretch="Fill"/>
</Border>
No comments:
Post a Comment