Thursday, January 17

Blur Effect in C# WPF Xaml

XAML Code :


<Window x:Class="blurEffects.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Button Height="40" Width="100" Content="Blur effect with radius 5">
            <Button.Effect>
                <BlurEffect Radius="5"></BlurEffect>
            </Button.Effect>
        </Button>
    </Grid>
</Window>

No comments:

Post a Comment