xaml - UWP CommandBar as resource -


i got commandbar i'd use pages within app. when creating new command bar using 'new' button in properties window , converting new value resource using 'convert new resource' (the resource placed in resource dictionary) vs creates following xaml:

<page.bottomappbar>     <staticresource resourcekey="bottombar" /> </page.bottomappbar> 

resource dict.:

<commandbar x:key="bottombar" /> 

now when launching application unhandled exception message 'the parameter incorrect' thrown (inner exception: 'value not fall within expected range'). intended behaviour or there workaround (except using style)?


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -