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/56ca27a4632949fea5ac4f0672c7230a to your computer and use it in GitHub Desktop.
Save icebeam7/56ca27a4632949fea5ac4f0672c7230a to your computer and use it in GitHub Desktop.
SistemaEscolar: PaginaAlumno.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.PaginaAlumno">
<ContentPage.Content>
<StackLayout BackgroundColor="White">
<Label Text="Detalle Alumno" TextColor="Black" FontSize="Large" Margin="15"/>
<StackLayout Padding="15">
<Label Text="Nombre: " TextColor="Blue" FontSize="Large"/>
<Entry x:Name="txtNombre" TextColor="White" Text="{Binding Nombre}"
Placeholder="Ingresa el nombre del alumno"
PlaceholderColor="LightGray" BackgroundColor="Black" FontSize="Medium"/>
</StackLayout>
<StackLayout Padding="15">
<Label Text="Fecha de nacimiento: " TextColor="Blue" FontSize="Large"/>
<DatePicker x:Name="dtpFechaNacimiento" TextColor="White" Date="{Binding FechaNacimiento}"
BackgroundColor="Black"/>
</StackLayout>
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/>
</StackLayout>
</ContentPage.Content>
<ContentPage.ToolbarItems>
<ToolbarItem x:Name="btnRegistrar" Text="Registrar" Order="Primary" Priority="0" Clicked="btnRegistrar_Clicked"/>
<ToolbarItem x:Name="btnEliminar" Text="Eliminar" Order="Primary" Priority="1" Clicked="btnEliminar_Clicked"/>
</ContentPage.ToolbarItems>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment