Is it good to create a usercontrol for Recurrsive code in xaml?
- by user281947
<Border BorderBrush="#C4C8CC" BorderThickness="0,0,0,1">
<TextBlock x:Name="SectionTitle" FontFamily="Trebuchet MS" FontSize="14" FontWeight="Bold" Foreground="#3D3D3D" />
</Border>
I have to use the same above format at many places in a single xaml page, so for this i created a usercontrol and defined the above code inside it.
So my question is,
what i am doing is it right approach ?
Will it make the page to load slower then the above code used as it is without defining it in a new user control?