First Question: No DataTemplate
. Since your items are already UIElement
s, you don't need a DataTemplate
.
And if you're creating a changeable collection, then yes, ObservableCollection<UIElement>
is the way to go.
Now, why would you be doing this? You may want to ask yourself if this is the best way of doing things. Why isn't your data and your presentation separated? If you need more than one type of element in the list, will DataTemplateSelector
allow you to have a real ViewModel
?