<Window x:Class="BitmapEffects.Window4" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Bitmap Effects" Height="538" Width="600" > <StackPanel> <Border Grid.Column="0" Grid.Row="4" Grid.ColumnSpan="2" Width="300" Height="150"> <Border.BitmapEffect> <EmbossBitmapEffect Relief="{Binding Path=Value, ElementName=sliderEmboss}" /> </Border.BitmapEffect> <TextBlock Foreground="White" FontSize="18">EMBOSS</TextBlock> </Border> <Slider Minimum="0" Maximum="1" Name="sliderEmboss" Value=".5" TickFrequency=".1"/> <TextBox Text="{Binding ElementName=sliderEmboss, Path=Value}"/> </StackPanel> </Window>