I've been working with delphi for a year already and now I'll develop some C# UWP.  

 I already have done some work, and I can see that in my XAML there are like 1000 lines..BECAUSE I have to do 10 'Panels' exactly identic, only changing their names, example:  

```
<StackPanel Name="Stack1">
    <TextBlock Name="Text1"/>
    <TextBox Name="Box1" 
</StackPanel>
<StackPanel Name="Stack2">
    <TextBlock Name="Text2"/>
    <TextBox Name="Box2" 
</StackPanel>

```

this is just a example, actually my code have 100 lines each 'StackPanel'.  

so.. theres a way to do only 1 'StackPanel' and use it as a class or something on XAML code 10 times using few lines  
 or I'll have to write it 10 times and use 1000 lines