Быстрый вопрос, как мне преобразовать это в код конца? то есть c #
ItemsSource = "{Binding Source = {StaticResource List1}, XPath = Entry}"
Binding items = new Binding(); items.Source = FindResource("List1"); items.XPath = "Entry"; myItemsControl.SetBinding(ItemsControl.ItemsSourceProperty, items);
Где myItemsControl - элемент управления для установки ItemsSource.
myItemsControl
ItemsSource