wpf窗口透明
- WindowStyle="None"
- ResizeMode="CanMinimize" 或 ResizeMode="NoResize"
- 调整WindowChrome
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStyle="None" ResizeMode="CanMinimize"
Title="walterlv demo" Height="450" Width="800">
<WindowChrome.WindowChrome>
<WindowChrome GlassFrameThickness="0" ResizeBorderThickness="4" CaptionHeight="0" CornerRadius="0" />
</WindowChrome.WindowChrome>
</Window>
留待后查,同时方便他人
联系我:renhanlinbsl@163.com
联系我:renhanlinbsl@163.com