Hub with dynamic HubSections with GridViews and DataBinding
<p>I would like to create a Hub with several HubSections via code. Each HubSection owns a single GridView so it look like every HubSection is a table (fullscreen) and I swipe left/right to view every table.
In my XAML page is only Hub the other stuff should be done by code. The HubSections should be created at runtime. For this I use a local settings storage to save some information about this, like how many HubSections etc.
Creating new HubSections is no problem but I'm stuck at adding a GridView to each HubSection because I don't understand the logic here. It looks like I have to add a DataTemplate and a GridView but my attempts all failed.</p>

<p>Note: each GridView has also it's own databinding from a Observable Collection. </p>

<p>So how to add a (?DataTemplate?) GridView with databinding to a HubSection ?</p>