WPF - Create buttons with up and down arrows using standard buttons?

I find Marlett (a font built into Windows) handy for that sort of thing.

Up vote 12 down vote favorite 4 share g+ share fb share tw.

I want to create some up and down buttons using the standard button background but with black arrows. What is the best way to accomplish this with WPF? Malcolm wpf button link|improve this question edited Jul 28 '11 at 19:45Dave Clemmer1,78331030 asked Jan 11 '09 at 4:48Malcolm1,22032867 48% accept rate.

Wow. I know this isn't as "WPF-y" as drawing a triangular polygon by hand, but still ... didn't expect down-votes. – Matt Hamilton Jan 11 '09 at 5:42 I reckon it's an OK way to go, what other interesting symbols are in the font?

– Ian Oakes Jan 11 '09 at 6:37 Click Start|Run and type "charmap" - then you can switch to Marlett and have a look. I believe it's the font that Windows 95 originally used to render all its UI button glyphs. – Matt Hamilton Jan 11 '09 at 7:05 2 +1 Fixed my problem.

Much nicer than drawing a triangle each time. Very handy to know. Thanks!

– Joey Jan 11 '09 at 14:47 1 In Silverlight "Webdings" would be the font to use for this. – duluca Jan 11 '09 at 17:25.

No discussion on this subject would be complete without mentioning the geometry mini-language (or Path Markup Syntax) for a more compact shape definition:- The first describes a Move to 0,6 Line to 12,6 Line to 6,0 and then close the shape (Z). There is also a curve syntax.

You can create a Polygon which represents your up and down triangles and then set them to be the content of the buttons: You can tweak these to draw different figured, but that's generally the XAML you would use for basic geometry.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions