当前位置: 首页> 科技> 数码 > 互联网推广和传统营销有哪些相同点_制作网站免费建站_线上推广费用预算_佛山百度网站快速排名

互联网推广和传统营销有哪些相同点_制作网站免费建站_线上推广费用预算_佛山百度网站快速排名

时间:2025/7/9 22:37:30来源:https://blog.csdn.net/weixin_38747097/article/details/144570727 浏览次数:2次
互联网推广和传统营销有哪些相同点_制作网站免费建站_线上推广费用预算_佛山百度网站快速排名

WindowStyle

设置:WindowStyle="None",窗口无法拖拽,但可纵向和横向拉伸

<Window x:Class="WPFDemo.MainWindow.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:WPFDemo.MainWindow"mc:Ignorable="d"WindowStyle="None" Title="MainWindow" Height="450" Width="800"><Grid></Grid>
</Window>

运行效果:

AllowsTransparency

设置:AllowsTransparency="True",但是必须同时设置WindowStyle="None",不然会报错,也不支持拖拽和拉伸

<Window x:Class="WPFDemo.MainWindow.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:WPFDemo.MainWindow"mc:Ignorable="d"WindowStyle="None"  AllowsTransparency="True"Title="MainWindow" Height="450" Width="800"><Grid></Grid>
</Window>

运行效果:

WindowChrome(推荐使用)

设置:<WindowChrome GlassFrameThickness="0" >,不影响拖拽和拉伸

<Window x:Class="WPFDemo.MainWindow.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:WPFDemo.MainWindow"mc:Ignorable="d"Title="MainWindow" Height="450" Width="800"><WindowChrome.WindowChrome><WindowChrome GlassFrameThickness="0" ></WindowChrome></WindowChrome.WindowChrome>
</Window>

运行效果:

关键字:互联网推广和传统营销有哪些相同点_制作网站免费建站_线上推广费用预算_佛山百度网站快速排名

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: