Is it possible to display a wpf window without an icon in the title bar?

前端 未结 6 1391
遥遥无期
遥遥无期 2021-01-01 10:23

As we all know, if the icon for a wpf window is undefined then the default icon is displayed. I want to display a window without any icon in the title bar. I realise that I

6条回答
  •  自闭症患者
    2021-01-01 10:49

    My first suggestion would be don't do it. In WinForms you can use types of formborderstyles to create a dialog box that has no icon, but only because that is a Windows standard. Only forms with those specific border types should have no icon; it's what users expect.

提交回复
热议问题