stuff i do at work

(maybe i’ll make less mistakes if i remember some)

System.Windows.Forms.VisualStyles.VisualStyleElement

Posted by noah on October 8, 2008

I was writing a windows app and wanted to add in buttons that look like the built-in windows buttons. For example, the MDI close window button, and the gripper ui texture. Fortunately through the power of reflection, I’ve found that the .net framework defines these in System.Windows.Forms.VisualStyles.VisualStyleElement. Unfortunately, these are poorly documented, and I couldn’t even find samples of what the styles look like.

So here they are, in one monolithic jpg file.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>