WPF圆角透明无边框窗体
2012-04-11 15:11
211 查看
<Window x:Class="ImportData.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" Background="{x:Null}" WindowStyle="None" MouseDown="Window_MouseDown" AllowsTransparency="True"> <Grid> <Border CornerRadius="8,8,8,8" Background="Black" Height="Auto"></Border> </Grid> </Window>
窗体移动须加上
private void Window_MouseDown(object sender, MouseButtonEventArgs e) { if(e.LeftButton==MouseButtonState.Pressed) { DragMove(); } }
相关文章推荐
- WPF圆角透明无边框窗体
- WPF圆角透明无边框窗体
- WPF 无边框透明窗体
- WPF无边框透明窗体的缩放
- WPF无边框透明窗体的缩放
- WPF无边框透明窗体的缩放
- WPF中的无边框透明可缩放窗体
- WPF创建无边框透明窗体
- Android:为Button添加圆角黑色边框及透明底色
- 圆角透明边框源代码及试图
- WPF中透明的自定义窗体
- UIView边框,圆角 透明 设置
- WPF如何实现窗体透明——Opacity
- 01.WPF中制作无边框窗体
- 利用WPF创建含多种交互特性的无边框窗体
- Qt 无边框、透明、可移动、的个性窗体案例详解(转载)
- Qt 无边框、透明、可移动、的个性窗体案例详解 .
- Qt中设置QML窗体无边框和背景透明
- WPF换肤之一:创建圆角窗体
- wpf中如何制作无边框窗体并圆角透明