You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.3 KiB

<Window x:Class="BlurText.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:BlurText"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Border Width="150" Height="150" Background="#4D5056">
<Grid>
<TextBlock x:Name="tbMain" Text="This is test text..." Foreground="White" VerticalAlignment="Center"
FontWeight="Bold" FontSize="15"/>
<StackPanel Orientation="Horizontal">
<Border SnapsToDevicePixels="True" Margin="-20 0 0 0" Background="#4D5056" Width="50">
<Border.Effect>
<BlurEffect Radius="20"/>
</Border.Effect>
</Border>
<Border Background="#4D5056" Margin="90 0 0 0" Width="50">
<Border.Effect>
<BlurEffect Radius="20"/>
</Border.Effect>
</Border>
</StackPanel>
</Grid>
</Border>
</Grid>
</Window>