实现效果如图:
实现代码:
-
<Window x:Class="Gvitech.Application.WPF.UI.FunFacility.WindowEquipmentRecord" -
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" -
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" -
Title="WindowEquipmentRecord" Height="300" Width="600" WindowStyle="None" WindowState="Normal" AllowsTransparency="True" > -
<Window.Background> -
<SolidColorBrush Opacity="0.6" Color="#001f55"></SolidColorBrush> -
</Window.Background>