Hi to all,
It is my 1st attempt in Master/Detail for Xamarin forms, so sorry for my newbie questions.
I have made a MasterDetailPage my code :
</p>
<pre><code><MasterDetailPage.Master >
<ContentPage Title="aaa">
<ContentPage.Content>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Button x:Name="SettingsBT" Grid.Row="1" Text="Ρυθμίσεις" Clicked="SettingsBT_Clicked" />
<Button x:Name="AboutBT" Grid.Row="2" Text="About" Clicked="AboutBT_Clicked" />
</Grid>
</ContentPage.Content>
</ContentPage>
</MasterDetailPage.Master>
<MasterDetailPage.Detail>
<views:DetailPage />
</MasterDetailPage.Detail>
In my Master Page I have 2-3 buttons which I want to open ContentPages for my App SettingsPage, AboutPage etc.
In my Code behind I cannot have "Navigation.PushAsync" because Xamarin complains about not being "NavigationPage".
How can I have several pages from Master Page ?
Thanks in advance