I have the following XAML inside a <TabItem>
:
<ScrollViewer ....>
<Border ....>
<DockPanel ...>
....
</DockPanel>
</Border>
</ScrollViewer>
This same XAML is going to repeated multiple times. I'm wondering if it would be easier to create some type of UserControl
or custom control
(not sure user control will work). Then, if I need to change a setting on one of those 3 it would cascade to all TabItems
that contain the ScrollViewer/Border/DockPanel
.