Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active May 11, 2018 12:19
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/6fd0f50e72ceb169c2f56cfc48f071a8 to your computer and use it in GitHub Desktop.
Save icebeam7/6fd0f50e72ceb169c2f56cfc48f071a8 to your computer and use it in GitHub Desktop.
SistemaEscolar: PaginaEscuela.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.PaginaEscuela">
<ContentPage.Content>
<StackLayout BackgroundColor="White">
<Label Text="Detalle Escuela" 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 de la escuela"
PlaceholderColor="LightGray" BackgroundColor="Black" FontSize="Medium"/>
</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="btnAlumnos" Text="Alumnos | " Order="Primary" Priority="1" Clicked="btnAlumnos_Clicked"/>
<ToolbarItem x:Name="btnEliminar" Text="Eliminar | " Order="Primary" Priority="2" Clicked="btnEliminar_Clicked"/>
</ContentPage.ToolbarItems>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment