The latest beta implementation of Microsoft Word introduces a new formatting bar that is displayed where it is required. If a part of some text is selected, a small button bar with the most important formatting features, such as bold or italic, is displayed.

This sample shows how to implement such a context formatting bar, complete with fading effects. The formatting bar fades in when the mouse moves over the selected text.

Read the full article here:

How to build a context formatting bar

Feel free to contact me to discuss this sample.