实现效果如图:
实现代码:
<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>
本文介绍了一个使用WPF创建自定义样式的窗口应用实例。该窗口采用无边框设计并支持透明背景,通过SolidColorBrush设置特定颜色及不透明度。
1822

被折叠的 条评论
为什么被折叠?



