Binding to custom control inside DataTemplate for ItemsControl
I have a problem with bindings for DataTemplate based on defined DataType in ItemsControl , when I want to bind to my custom user control . For demonstration purposes, I've created simple Item class example, where I have collection of items like this: public class Item { public string ItemNameToBeSureWhatPropertyIsBound { get; set; } } In my ViewModel I create such collection, and expose it (with one item for comparison separately): public class MainWindowViewModel : INotifyPropertyChanged { private ObservableCollection<Item> _items; private Item _exampleItem; public MainWindowViewModel() {