Binding textbox in ListView's header datatemplate to a filter property
问题 I am creating a customized listview header that has the header text but also has a textbox that you can enter to filter the content of that column. My code currently looks like this: <UserControl.Resources> <DataTemplate x:Key="myHeaderTemplate"> <StackPanel> <TextBlock FontSize="14" Foreground="DarkBlue" Margin="20,4" Text="{Binding}" /> <TextBox Text="" Margin="4,2" /> </StackPanel> </DataTemplate> </UserControl.Resources> which is the definition for the header datatemplate containing the