Created
May 11, 2018 12:23
-
-
Save icebeam7/025d84a94acc6029496bb7ee60f7137f to your computer and use it in GitHub Desktop.
SistemaEscolar: PaginaListaAlumnos.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.PaginaListaAlumnos"> | |
<ContentPage.Content> | |
<StackLayout BackgroundColor="White"> | |
<Label Text="{Binding Nombre}" TextColor="Blue" FontSize="Large" Margin="15"/> | |
<Label Text="Lista de Alumnos" TextColor="Black" FontSize="Medium" Margin="15"/> | |
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/> | |
<ListView x:Name="lsvAlumnos" ItemsSource="{Binding Alumnos}" ItemSelected="lsvAlumnos_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