Windowscommunitytoolkit: MasterDetail view - add buttons to the bottom of the left-hand list

Created on 8 Feb 2017  路  11Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

With many apps, that use the MasterDetail pattern, there is a bar of controls at the top or bottom of the listview that allows items to be (for example) deleted or added. However, I cannot work out how to add any other controls within the toolkit's MasterDetail implementation. I can only add a CommandBar that sits under the entire M/D view, and as the CommandBar buttons all align right, it doesn't work. Is there a way to insert some buttons under the list view? thanks!

controls help wanted improvements in progress

Most helpful comment

Currently the only way to do this would be by restyling the control.
I think adding a MasterCommandBar and DetailsCommandBar makes sense.

All 11 comments

Currently the only way to do this would be by restyling the control.
I think adding a MasterCommandBar and DetailsCommandBar makes sense.

Could be great addition to the existing control

Hello @skendrot, do you think you will be able to tackle it for 1.4 ?

Yea, I should be able to get it in for 1.4

thanks a lot!

I have a good working version of this. Will push this weekend

is it also possible that commandbar (master/detail) doesn't matter can be put on top of the list or item?

The command bar is at the bottom by default but can be placed at the top by restyling the control

thanks @skendrot , how can i retrieve the default style of the control so i can make a restyled version?

Hey @MannusEtten, you can copy the style from here into your App.xaml and make changes as you see fit

Apparently, CommandBar has been implemented, but how do you use it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deltakosh picture deltakosh  路  3Comments

Joebeazelman picture Joebeazelman  路  3Comments

kusanagi2k2 picture kusanagi2k2  路  4Comments

michael-hawker picture michael-hawker  路  4Comments

Kyaa-dost picture Kyaa-dost  路  3Comments