This repository has been archived on 2020-12-20. You can view files and clone it, but cannot push or open issues or pull requests.

45 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-07-05 14:17:09 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<ContentView
2019-07-05 14:17:09 -04:00
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Aurora.Design.Components.NavigationMenu.NavigationMenu">
<ContentView.Resources>
<StyleSheet
Source="NavigationMenu.css"/>
</ContentView.Resources>
2019-07-05 14:17:09 -04:00
<ContentView.Content>
2019-12-23 20:07:07 -05:00
<StackLayout
x:Name="Layout"
StyleClass="primaryColor">
2019-07-05 14:17:09 -04:00
<ListView
x:Name="MenuItemsListView"
HasUnevenRows="true"
2019-12-01 16:14:36 -08:00
SeparatorVisibility="None"
2019-07-05 14:17:09 -04:00
IsGroupingEnabled="true"
2019-12-01 06:53:30 -05:00
RowHeight="35"
2019-12-23 20:07:07 -05:00
StyleClass="primaryColor"
2019-07-05 14:17:09 -04:00
CachingStrategy="RecycleElement">
<ListView.GroupHeaderTemplate>
<DataTemplate>
2019-12-23 20:07:07 -05:00
<ViewCell
x:Name="GroupCell">
2019-07-05 14:17:09 -04:00
<Label
2019-12-01 06:53:30 -05:00
VerticalTextAlignment="Center"
Text="{Binding GroupHeading}"/>
2019-07-05 14:17:09 -04:00
</ViewCell>
</DataTemplate>
</ListView.GroupHeaderTemplate>
<ListView.ItemTemplate>
<DataTemplate>
2019-12-23 20:07:07 -05:00
<ViewCell
x:Name="ItemCell">
<Label
2019-12-23 20:07:07 -05:00
StyleClass="primaryColor"
Text="{Binding Title}"/>
2019-07-05 14:17:09 -04:00
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentView.Content>
</ContentView>