WPF pass parent binding object to the converter
问题 I have ItemsControl that is bound to collection of type Student. Inside the ItemTemplate I have a TextBox that uses IValueConverter to do some custom calculations and logic. I want to pass the actual Student object to the value converter, instead a property of it. How can I do that? Here's a sample of my code. <ItemsControl ItemsSource="{Binding StudentList}"> <ItemsControl.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding Name}" /> <TextBlock Text="{Binding ????, Converter=