简体   繁体   中英

How to get WPF window close button design?

I want to use the Close button as it shown in WPF windows application into my application. Is it possible to get the design/image from the existing resources? Anyone points to me to get Pressed, Normal and Hover icons for close?. I could not get them all in one place to match each other..

I have attached close button image here..

在此处输入图片说明

That part of the window, termed the chrome, is not rendered by the WPF framework. You can create a chromeless window and render you own chrome. There are quite a few articles / blogposts that describe this. For example:

http://blogs.msdn.com/b/wpfsdk/archive/2008/09/08/custom-window-chrome-in-wpf.aspx

If you just want the images, try a screen capture tool.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM