maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Issue3086.xaml

28 строки
759 B
Plaintext
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Xamarin.Forms.Controls.Issues.Issue3086">
<ListView x:Name="TestListView"
IsGroupingEnabled = "true"
HasUnevenRows="true">
<ListView.GroupHeaderTemplate >
<DataTemplate>
<ViewCell Height="30">
<ContentView>
<Label Text="{Binding GroupName}" BackgroundColor="Green"/>
</ContentView>
</ViewCell>
</DataTemplate>
</ListView.GroupHeaderTemplate >
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<ContentView>
<Label Text="{Binding}"/>
</ContentView>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage>