How can i set map control fullscreen mode or stretch under bottomappbar control? Here's the screenshot. Thank you.
New try.
Check if this provides you the behavior that you want: (note that it also changes the statusbar on the top of the screen)
Windows.UI.ViewManagement.ApplicationView.GetForCurrentView(). SetDesiredBoundsMode(ApplicationViewBoundsMode.UseCoreWindow);
Put it in App.cs OnLaunched method before the window is activated.
You can define bacground with alpha value.
<Page.BottomAppBar> <CommandBar Background="#66000000" ClosedDisplayMode="Minimal"> <AppBarButton Icon="Accept" Label="Accept"></AppBarButton> <CommandBar.SecondaryCommands> <AppBarButton Icon="Accept" Label="Accept" ></AppBarButton> <AppBarButton Icon="Accept" Label="Accept" ></AppBarButton> </CommandBar.SecondaryCommands> </CommandBar> </Page.BottomAppBar> <Grid> <esri:MapView x:Name="MyMapView" LayerLoaded="MyMapView_LayerLoaded"> <esri:Map> <layers:ArcGISTiledMapServiceLayer ID="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </esri:Map> </esri:MapView> </Grid>
Never mind me, would help if I actually looked what was asked...
Thank you very much. It's now working.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.