Tech Off Post

Single Post Permalink

View Thread: Dynamic Binding for TextBlock inside of DataTemplate in ComboBox
  • spivonious

    @santrajas: You don't have a property name to bind to in XAML? You can do that, and then set the DataContext of the ComboBox in code.

    If you don't know the property name at design time, then DataTemplates really aren't the answer.