How to "decorate" a control in WPF?
I want some of the controls in my window to be surrounded by a border and a caption above them, which will contain a title that tells something about the control (for example, the list of people surrounded by a border and above the list has a shortcut with the text "My Persons" ). Since I want to apply this on many controls, I don't want to write a specific xaml for each one. Should I create a custom control or is there a way to use styles / templates for this?
Visual example:
+1
a source to share
2 answers