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

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -