I'm currenty trying to use a Layout component to display a list of models inside my application. Applying these to the FloatingItemsSource property in itself works but then I encountered a Problem.
The FloatingItems are created inside the Layout and have the model as their DataContext but their Content is empty. I've already created a suitable logic to supply a content for the Item (currently as a DataTemplate and a Template Selector) but I cannot find any way to inject it into the System.
I'm currenty trying to use a
Layout
component to display a list of models inside my application. Applying these to theFloatingItemsSource
property in itself works but then I encountered a Problem.The FloatingItems are created inside the
Layout
and have the model as theirDataContext
but theirContent
is empty. I've already created a suitable logic to supply a content for the Item (currently as a DataTemplate and a Template Selector) but I cannot find any way to inject it into the System.