WPF: Converting from UserControl to CustomControl
问题 I have a WPF UserControl - SegmentConrol , that represents a line with some text and an array displaying the direction (>). As I have to customize this control styles, I decided to switch to a CustomControl, because I read this is better in a way... Now, I have some "troubles" to switch from UC to CC. Particularly, no idea where to put the <UserControl.Resources> part. If any of experts could advise me they are welcomed. Here is my UserControl: <UserControl x:Class="MyNamespace