I liked this answer, and it almost fit me.
But, how can I achieve this if my DataTemplate is in a external ResourceDictionary
DataTemplate
ResourceDictionary
Since the DataContext behind OperationView will be an object of type Operation, then you simply bind to whatever property on Operation you want
DataContext
OperationView
Operation