Beware, this is a rather basic question (I think).
I have a UserControl, called MyUserControl. I use it in a DataTemplate for my ListBox:
<l:MyUserControl DataContext="Test" />
Now I want to access this DataContext in the code-behind of MyUserControl, and I expect DataContext to contain a string object with contents "Test". However, DataContext is null. What am I missing here?