Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active November 21, 2019 02:02
Show Gist options
  • Save icebeam7/c5363738a3a47b6f747bf3d406173895 to your computer and use it in GitHub Desktop.
Save icebeam7/c5363738a3a47b6f747bf3d406173895 to your computer and use it in GitHub Desktop.
DemoCamara: MenuView.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DemoCamara.Views"
Title="Menu"
mc:Ignorable="d"
x:Class="DemoCamara.Views.MenuView">
<ContentPage.Content>
<StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand">
<Button Text="Pictures"
Command="{Binding NavigateCommand}"
CommandParameter="{x:Type local:PhotoView}" />
<Button Text="Videos"
Command="{Binding NavigateCommand}"
CommandParameter="{x:Type local:VideoView}"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment