Monday, 12 March 2012


If you require a generic piece of UI that could be applied in various scenarios, an adorner might come in useful.

An adorner is applied as an overlay to your controls.

In this example, each adorner will add a circle above different types of UI elements (buttons, labels, textblocks and textbox).



Display Xaml

Code behind applying the adorner to each UI Element

Source code:

No comments:

Post a Comment