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.
aurora-sharp-desktop/Aurora/Design/Components/NavigationMenu/NavigationMenu.xaml

39 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-07-05 18:17:09 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ContentView
2019-07-05 18:17:09 +00: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 18:17:09 +00:00
<ContentView.Content>
<StackLayout x:Name="Layout">
2019-07-05 18:17:09 +00:00
<ListView
x:Name="MenuItemsListView"
HasUnevenRows="true"
2019-12-02 00:14:36 +00:00
SeparatorVisibility="None"
2019-07-05 18:17:09 +00:00
IsGroupingEnabled="true"
2019-12-01 11:53:30 +00:00
RowHeight="35"
2019-07-05 18:17:09 +00:00
CachingStrategy="RecycleElement">
<ListView.GroupHeaderTemplate>
<DataTemplate>
2019-12-01 11:53:30 +00:00
<ViewCell x:Name="GroupCell">
2019-07-05 18:17:09 +00:00
<Label
2019-12-01 11:53:30 +00:00
VerticalTextAlignment="Center"
Text="{Binding GroupHeading}"/>
2019-07-05 18:17:09 +00:00
</ViewCell>
</DataTemplate>
</ListView.GroupHeaderTemplate>
<ListView.ItemTemplate>
<DataTemplate>
2019-12-01 11:53:30 +00:00
<ViewCell x:Name="ItemCell">
<Label
Text="{Binding Title}"/>
2019-07-05 18:17:09 +00:00
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentView.Content>
</ContentView>