I want to add a prefix and surfix gradient panel to decorate the items in a list. I'm new to custom control and need a started point to do this.
Please show me how to do it.
I want to add a prefix and surfix gradient panel to decorate the items in a list. I'm new to custom control and need a started point to do this.
Please show me how to do it.
You should start by creating a control template for the ListBoxItem
<ControlTemplate TargetType="{x:Type ListBoxItem}">...
You have a complete example in Bea Stollnitz blog.
This answer can be generalized into "How to customize the UI display of a [control] ?".
Here are what I found helpful: