A Fancy StatusBar


Download and try it! 



When moving Mouse over an item, the item jumps up until Mouse leaves. The key steps to achieve it are as follows. 


1.      Subclass StatusBarItem and add new property ImagePath. Therefore, we can pass image to StatusBarItem easily.


 


2.      Subclass StatusBar and override MouseLeave and MouseMove event. In MouseMove event handler, find current item according to mouse position, and then change each item’s position by changing Canvas.Top property. When Mouse Leave, restore each item to original position.


Declaimer: This posting is provided "AS IS" with no warranties, and confers no rights.

StatusBarExtension.zip

Skip to main content