Witam
Chciałbym zrobić stopkę w datagridzie składającą się z pól tekstowych. Myslałem o czymś takim
<ControlTemplate TargetType="{x:Type DataGrid}">
<Border >
<ScrollViewer>
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<DataGridColumnHeadersPresenter Grid.Row="0"/>
<ItemsPresenter Grid.Row="1"/>
<WrapPanel Grid.Row="2">
<TextBox Text="Tekst1"/>
<TextBox Text="Tekst2"/>
<TextBox Text="Tekst3"/>
<TextBox Text="Tekst4"/>
<TextBox Text="Tekst5"/>
<TextBox Text="Tekst6"/>
</WrapPanel>
</Grid>
</ScrollViewer>
</Border>
</ControlTemplate>
</DataGrid.Template>
Ale w momencie gdy ustawie FrozenColumnCount ="5" zamrożone pozostają tylko wiersze a stopka i nagłówki sie przewijają. Proszę o pomoc