I have this structure ...
<StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="4*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<CheckBox Grid.Column="0" Margin="4" Content="Potencia 4 Polos"/>
<TextBox Grid.Column="1"/>
<TextBlock Grid.Column="2" Text="0" Background="#eee"/>
<TextBlock Grid.Column="3" Text="0" Background="#eee"/>
</Grid>
</StackPanel>
Can I somehow repeat the code several times on top of each other without repeating it? Creating a template or similar way