Created
August 3, 2015 18:31
-
-
Save wsrzx/7fd2374f7a5d29952f55 to your computer and use it in GitHub Desktop.
Xamarin Forms MasterDetalPage XAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:view="clr-namespace:DemoApp.Views;assembly=DemoApp" | |
x:Class="DemoApp.Views.RootPage" Title="MasterDetailPage Demo"> | |
<MasterDetailPage.Master> | |
<view:MainMenu /> | |
</MasterDetailPage.Master> | |
<MasterDetailPage.Detail> | |
<view:HomePage /> | |
</MasterDetailPage.Detail> | |
</MasterDetailPage> | |
<!-- Menu --> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="DemoApp.Views.MainMenu"> | |
<Label Text="Hello World" VerticalOptions="Center" HorizontalOptions="Center" /> | |
</ContentPage> | |
<!-- Detail --> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="DemoApp.Views.HomePage"> | |
<Label Text="Hello World" VerticalOptions="Center" HorizontalOptions="Center" /> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment