Datagrid custom header
问题 I want to add an extra row to Datagrid's header row that will contain textboxes (for searching). This row should appear directly under the original header and look like regular item header. This is my code so far: <Window.Resources> <Style x:Key="DataGridColumnHeaderStyle1" TargetType="{x:Type DataGridColumnHeader}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type DataGridColumnHeader}"> <Grid VerticalAlignment="Center" HorizontalAlignment="Stretch"> <Grid