I am trying to use an ItemTemplateSelector on a listbox within a grid that I am creating on a different file to later be called by the MainWindow.
Here is my DataTe
@Rachel is right. Your DataTemplateSelector only gets invoked once at load pretty much and not for INPC changes.
DataTemplateSelector
INPC
What you can do for what you require is use a ListBoxItemStyle with DataTrigger switching the Template used
ListBoxItemStyle
DataTrigger
Template
something like:
and usage: