2
I need to have title "Main Screen" in a Masterdetail that I have, is possible?
<?xml version="1.0" encoding="utf-8" ?>
<MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="FoodSuppy.Principal"
xmlns:local="clr-namespace:FoodSuppy;assembly=FoodSuppy"
NavigationPage.HasNavigationBar="False">
<!-- Sair -->
<MasterDetailPage.ToolbarItems>
<ToolbarItem Text="Sair"
Clicked="Sair_Clicked"/>
</MasterDetailPage.ToolbarItems>
<!-- Menu -->
<MasterDetailPage.Master>
<ContentPage Title="Menu"
Icon="menu.png">
<StackLayout>
<Button Text="Pag Principal"
Clicked="btnPagina1_Clicked"/>
<Button Text="Alterar cadastro"
Clicked="btnPagina2_Clicked"/>
<Button Text="Ajuda"
Clicked="btnAjuda_Clicked"/>
<Button Text="Sobre"/>
</StackLayout>
</ContentPage>
</MasterDetailPage.Master>
Note: I’m hiding the Navigation bar, only the Masterdetail bar appears even, as in the photo below:
Done, if you can give a force thank you.
– Deivid Souza