<?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="FlexGrid101.SelectionModes" x:Name="page"
             xmlns:xuni="clr-namespace:Xuni.Forms.FlexGrid;assembly=Xuni.Forms.FlexGrid">
  <StackLayout>
    <Label BindingContext="{x:Reference page}" Text="{Binding Title}" IsVisible="{StaticResource TitleVisible}" HorizontalOptions="Center" Font="Large"/>
    <Picker x:Name="selectionMode" Title="SelectionMode" SelectedIndexChanged="SelectionModeChanged"/>
    <Label x:Name="lblSelection" Text="0 cell(s) selected"/>
    <Grid VerticalOptions="FillAndExpand">
      <xuni:FlexGrid x:Name="grid" HeadersVisibility="All" SelectionChanging="OnSelectionChanging" SelectionChanged="OnSelectionChanged"/>
    </Grid>
  </StackLayout>
</ContentPage>