I have a problem with bindings for DataTemplate based on defined DataType in ItemsControl, when I want to bind to my custom us
DataTemplate
DataType
ItemsControl
The problem is that you explicitly set the DataContext of your UserControl to itself:
DataContext
DataContext="{Binding Mode=OneWay, RelativeSource={RelativeSource Self}}
Remove that assignment and write the ItemName binding like this:
ItemName
or like this