WPF Tricks

WPF Tricks: Context Menu via Behavior

Behaviors enable application designers to trigger changes in the program behavior with little effort and without interfering with the program code. This tutorial shows how to create a context menu by means of a behavior.

2 min

WPF Tricks: Coloring Icons at Runtime

This little trick enables you to color icons at runtime virtually any way you like, making different-colored icon sets unnecessary. The principle is very lightweight.

3 min