WpfMessageBar v1.0.0.1

Rating: No reviews yet
Downloads: 133
Released: Aug 12, 2009
Updated: Aug 13, 2009 by Thrash505
Dev status: Stable Help Icon

Recommended Download

Source Code WpfMessageBar v1.0.0.1.zip - (Source, Tester, and Sample) (.NET 4.0)
source code, 279K, uploaded Aug 12, 2009 - 133 downloads

Release Notes

The main changes in this release are the new sample project and the ability to have a message be delayed before its shown.

My motivation for this change was due to MenuItems... in the application I'm currently working on I'm using the MessageBar to display the menu item tooltips. When going over Seperators the MessageBar's message would immediately change back to the idle message, however this is distracting because the MessageBar would then frequently be changing colors (states) when going over menuitems and seperators. To fix this I put some logic in the MouseLeave event of the menuitems/separators to delay the idle message for 500 milliseconds. This makes the transitions much smoother when going over menuitems and separators. I included a new sample project of this menuitems scenario in the solution, so now there's is a practical sample to look at.

Notes
There's only a .NET 4.0 release this time around because its a pain to keep track of two different solutions and keeping them in-sync. Although, I'm not actual using any .NET 4.0 code so it should be easy for people to convert the project to work with an earlier .NET version.

Here's the changes log for this version:
MessageBarMessage:
-Removed DefaultDuration constant (which was int... instead of double...)
-Added default value metadata to DurationProperty; the default is still 5000

MessageBar:
-Changed accessibility level of PreviousPermanentMessage CLR Property from private to public
-Changed the name of MessageTimer CLR property to DurationTimer... going with two timers now for simplicity
-Added a DelayTimer CLR property to enforce the Delay property
-Changed MessageTimerTick event handler to DurationTimerTick
-Added a DelayTimer_Tick event handler
-Added a Height setter with a value 25 to the default and customized control templates

Solution:
-Added a new sample project

Reviews for this release

No reviews yet for this release.