locked
The new Hub control for master-detail view? RRS feed

  • Question

  • I have a master-detailed UI placed in a UserControl (not Page)

    The overview info (master) is shown in a ListView to the left and I want to show a detailed  view to the right when user clicks on items in the ListView. 

    • Would it be possible to use a HubControl (Windows 8.1) for this and show/collpase a detailed Hub section when user clicks in the ListView..?
    • If not, any other recommendations would be highly appreciated. I prefer no to navigate to separate Page or UserControl.

    Thanks

     
    Monday, November 4, 2013 6:17 PM

Answers

  • That doesn't really fit the concept of the hub control, but I suppose you could scroll to a specific hub based on the ListView selection. I'm not sure I'm properly seeing what you are thinking, but I would tend towards having the details pane be just the one that matches the ListView selection. If the view itself is the same but with different data then just use a constant pane and bind to new data. Otherwise you could swap out the template based on the bound data.

    • Marked as answer by Southbranch Tuesday, November 5, 2013 7:30 AM
    Tuesday, November 5, 2013 5:27 AM
    Moderator

All replies

  • That doesn't really fit the concept of the hub control, but I suppose you could scroll to a specific hub based on the ListView selection. I'm not sure I'm properly seeing what you are thinking, but I would tend towards having the details pane be just the one that matches the ListView selection. If the view itself is the same but with different data then just use a constant pane and bind to new data. Otherwise you could swap out the template based on the bound data.

    • Marked as answer by Southbranch Tuesday, November 5, 2013 7:30 AM
    Tuesday, November 5, 2013 5:27 AM
    Moderator
  • Ok, thanks.

    Since yesterday, I have been laborating with the Hub control and I don't think it would be perfect here.

    Tuesday, November 5, 2013 7:30 AM