DataContext is mainly used for forms, controls, etc.
ItemSource is a relative path to bind data to this DataContext.
For example, when you create a form for editing Person data, then the DataContext will be Person, and various controls on the form will be attached to a separate property on this object, for example, Name, Date of Birth, etc.
source share