Вход на сайт
WPF - требуется ИИ, можно с детьми
441 просмотров
Перейти к просмотру всей ветки
AlexNek патриот
в ответ dymanoid 30.12.17 16:47
а точнее - коллекции объектов model или view-model
никогда такое не требовалось и не думаю что потребуется. Да не могу еще где то найти подобное утверждение.
http://www.dotnetcurry.com/wpf/1160/wpf-itemscontrol-funda...
http://www.wpf-tutorial.com/list-controls/itemscontrol/
https://docs.microsoft.com/en-us/dotnet/api/system.windows...
Represents a control that can be used to present a collection of items.
An ItemsControl is a type of Control that can contain multiple items, such as strings, objects, or other elements.
The following illustration shows a ListBox control that contains the following different types of items:
A string.
A DateTime object.
A UIElement object.
Если надо отобразить статический набор каких-то UIElement'ов, то используйте любую Panel
А кто сказал что Тулбох должен отображать исключительно статические элементы? Это чисто сейчас.