|
|
|
|
|
by batiste
3220 days ago
|
|
I didn't have to go very far inside ItemsControl to see the example of the "presentation logic" you say doesn't exist. E.g. https://msdn.microsoft.com/en-us/library/system.windows.cont... What is that if not an horribly verbose switch case for modifying the representation of different elements passed to the ItemsControl? I am not advocating that the JSX is particularly pretty or clever. I am objecting to your crazy notion that there should be no logic in the representation layer. |
|
<ItemsControl ItemsSource={Binding ListOfThings} />