visual studio 2013 - Why is my BottomAppBar no longer displaying? -
AppBar below me was displayed first I have not changed the XML, which is in the mainpage.exml:
& lt; Page BottomAppBar & gt; & Lt; AppBar x: name = "bottom app" padding = "10,0,10,0" & gt; & Lt; CommandBar & gt; & Lt; CommandBar.SecondaryCommands & gt; & Lt; AppBarButton Icon = "BrowsePhotos" label = "Browse" Automation Properties. Name = "Browse photos" = "btnOpenImgFiles_Click" /> & Lt; /CommandBar.SecondaryCommands> & Lt; CommandBar.PrimaryCommands & gt; & Lt; AppBarbutton icon = "Openfile" label = "Open" Automation Properties. Click on the name = "Open file" = "BTN Openmankelic" /> & Lt; AppBarButton Icon = "Save" Label = "Save" Automation Properties. Click on the name = "Save File" = "btnSaveMap_Click" /> & Lt; /CommandBar.PrimaryCommands> & Lt; / CommandBar & gt; & Lt; / AppBar & gt; & Lt; /Page.BottomAppBar> <(Very rarely) While running the app via F5, I can get BottomAppBar to display through the Windows key + Z, but now it's empty - what could be just a black bar?
You should not have an app bar in the app bar. This should be what you have:
& lt; Page. BottomAppBar & gt; & Lt; Commander X: Name = "Down the App Store" & gt; & Lt; CommandBar.SecondaryCommands & gt; & Lt; AppBarButton Icon = "BrowsePhotos" label = "Browse" Automation Properties. Name = "Browse photos" = "btnOpenImgFiles_Click" /> & Lt; /CommandBar.SecondaryCommands> & Lt; CommandBar.PrimaryCommands & gt; & Lt; AppBarbutton icon = "Openfile" label = "Open" Automation Properties. Click on the name = "Open file" = "BTN Openmankelic" /> & Lt; AppBarButton Icon = "Save" Label = "Save" Automation Properties. Click on the name = "Save File" = "btnSaveMap_Click" /> & Lt; /CommandBar.PrimaryCommands> & Lt; / CommandBar & gt; & Lt; /Page.BottomAppBar>
If you really feel strongly about the throne, then keep it as a margin on the button instead of the app nesting nest.
Comments
Post a Comment