In WPF there are bubbling Routed Events that travel up the visual tree until they are marked as handled by an event handler. This is…
This post describes a new, improved versions of the AutoGrayableImage introduced in this blog: https://www.engineeringsolutions.de/wp-admin/post.php?post=334 Why? There were some issues with the original version which…
This snippet shows how to display a list of system colors in XAML only. First we create ab object data source containing the list of…
There is a bug in WPF that leads to a very strange behavior: A style that is defined in the resources is not applied to…
There is a new blog post about this topic with a new improved version of the AutoGrayableImage: https://www.engineeringsolutions.de/wp-admin/post.php?post=663 The following class is a WPF image…
This can be used to choose the line type from a ComboBox, for example in a drawing application. The first entry is a solid line,…
A DropShadowEffect can be used to make any WPF control cast a shadow. In order to use this on a text, we can simply assign…
Enumerations are often used in applications to enable the user to select an item from a list of predefined values. This can be handled in…