CommandLink Buttons for .Net2 and Mono


Thanks to a colleague @ work, I have been able to glean information from the Net and some magic via Google (and 2 pairs of eyes), to come up with a CommandLink button that does:

  • Disabled drawing
  • Button Click movement
  • Mouse over highlight
  • Normal Highlight
  • Focussed Highlight
  • Image(s) – (Or not)
  • Underline of Accelerator mnemonics
  • Detection of Windows state to not underline until the Alt key is pressed

Go here and see for yourself http://elucidate.codeplex.com/ look for changeset 66950 (Or browse the code for CommandLinkButton.cs)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s