xamarin/Xamarin.Forms

[Feedback] Xamarin.Forms TabbedPage as Master on MasterDetailPage problems

Open

#3,719 opened on Sep 5, 2018

 (1 comment) (0 reactions) (0 assignees)C# (1,926 forks)batch import
e/3 :clock3:feedback-tickethelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

<?xml version="1.0" encoding="UTF-8"?>
<TabbedPagexmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="using:MasterDetailPageNavigation"
x:Class="MasterDetailPageNavigation.MasterPage"
Padding="0,200,0,0"
Icon="hamburger.png"
Title="Personal Organiser">

<ContentPageTitle="Tab 1">
<StackLayout>
<ListViewx:Name="listView"x:FieldModifier="public">
<ListView.ItemsSource>
<x:ArrayType="{x:Typelocal:MasterPageItem}">
<local:MasterPageItemTitle="Contacts"IconSource="contacts.png"TargetType="{x:Typelocal:ContactsPage}"/>
<local:MasterPageItemTitle="TodoList"IconSource="todo.png"TargetType="{x:Typelocal:TodoListPage}"/>
<local:MasterPageItemTitle="Reminders"IconSource="reminders.png"TargetType="{x:Typelocal:ReminderPage}"/>
</x:Array>
</ListView.ItemsSource>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<GridPadding="5,10">
<Grid.ColumnDefinitions>
<ColumnDefinitionWidth="30"/>
<ColumnDefinitionWidth="*"/>
</Grid.ColumnDefinitions>
<ImageSource="{BindingIconSource}"/>
<LabelGrid.Column="1"Text="{BindingTitle}"/>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentPage>

<ContentPageTitle="Tab 2">
<StackLayout>
<LabelText="Enter:"/>
<Entry/>
</StackLayout>
</ContentPage>
</TabbedPage>

View on Developer Community To find diagnostic information, see the original linked feedback ticket.

Source

660951

Contributor guide