如何从Windows Presentation Framework(.Net)中的标题栏中删除图标? [英] How to remove the icon from title bar in Windows Presentation Framework(.Net)?

查看:93
本文介绍了如何从Windows Presentation Framework(.Net)中的标题栏中删除图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如何删除图标从Windows Presentation Framework(.Net)中的标题栏?

How to remove the icon from title bar in Windows Presentation Framework(.Net)?


我只需要从标题栏中删除图标,而不是从任何其他地方删除。当我将应用程序从全屏切换到正常屏幕时,标题栏图标再次出现任何人都可以建议任何持久的解决方案吗?

I need just to remove the icon from the title bar only, not from any other place. When i switch my application from fullscreen to normal screen then the title bar icon is again appearing Can anyone suggest any durable solution?

推荐答案

您好,有一个简单的选项可以工作,但你将无法调整你的应用程序:

Hi, there is a simple option that should work, but you won't be able to resize your application:

<Window WindowStyle="None" >

我认为还有其他一些方法可以做到,但几个月前我在一个项目中使用了这个。

I think that there is some other ways to do it but i used this one in a project few months ago.

你能否提供更多细节,如果它不起作用(比如你的设计样本,或类似的东西)谢谢?

Can you also give more details if it doesn't work (like a sample of your design, or stuff like this) thanks?

希望这有帮助。


这篇关于如何从Windows Presentation Framework(.Net)中的标题栏中删除图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆