Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created May 11, 2018 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/f0d107dec832830a45298f6f2763c5be to your computer and use it in GitHub Desktop.
Save icebeam7/f0d107dec832830a45298f6f2763c5be to your computer and use it in GitHub Desktop.
SistemaEscolar: PaginaListaEscuelas.xaml
<?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="SistemaEscolar.Paginas.PaginaListaEscuelas">
<ContentPage.Content>
<StackLayout BackgroundColor="White">
<Label Text="Lista de Escuelas" TextColor="Black" FontSize="Large" Margin="15"/>
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/>
<ListView x:Name="lsvEscuelas" ItemSelected="lsvEscuelas_ItemSelected" HasUnevenRows="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Label Text="{Binding Nombre}" FontSize="Medium"
LineBreakMode="WordWrap" TextColor="Black" Margin="10"/>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</ContentPage.Content>
<ContentPage.ToolbarItems>
<ToolbarItem x:Name="btnAgregar" Text="Agregar" Order="Primary" Priority="0" Clicked="btnAgregar_Clicked"/>
</ContentPage.ToolbarItems>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment