corrige le label du bouton

This commit is contained in:
Paul Schneider 2016-11-06 21:40:24 +01:00
commit a53bfc0c61
2 changed files with 12 additions and 7 deletions

View file

@ -39,9 +39,9 @@
</ResourceDictionary> </ResourceDictionary>
</ContentPage.Resources> </ContentPage.Resources>
<ScrollView> <ScrollView>
<StackLayout x:Name="mainStackLayout"> <StackLayout x:Name="mainStackLayout">
<Label Text="Description de la ligne de facture" <Label Text="Description de la ligne de facture"
Style="{StaticResource InputLabelStyle}"></Label> Style="{StaticResource InputLabelStyle}"></Label>
<StackLayout Orientation="Horizontal" VerticalOptions="FillAndExpand"> <StackLayout Orientation="Horizontal" VerticalOptions="FillAndExpand">
@ -93,12 +93,14 @@
Path=IsValid, Path=IsValid,
Converter={StaticResource boolToStyleImage}}" /> Converter={StaticResource boolToStyleImage}}" />
</StackLayout> </StackLayout>
<Button Text="Términé" <StackLayout Orientation="Horizontal">
<Button Text="Supprimer"
Command="{Binding DeleteCommand}" Command="{Binding DeleteCommand}"
Clicked="OnValidateClicked"></Button> Clicked="OnDeleteClicked"></Button>
<Button Text="Términé" <Button Text="Términé"
Command="{Binding ValidateCommand}" Command="{Binding ValidateCommand}"
Clicked="OnValidateClicked"></Button> Clicked="OnValidateClicked"></Button>
</StackLayout> </StackLayout>
</ScrollView> </StackLayout>
</ScrollView>
</ContentPage> </ContentPage>

View file

@ -16,7 +16,10 @@ namespace BookAStar.Pages
picker.Items.Add(du); picker.Items.Add(du);
BindingContext = model; BindingContext = model;
} }
public void OnDeleteClicked(object sender, EventArgs e)
{
throw new NotImplementedException();
}
public void OnValidateClicked (object sender, EventArgs e) public void OnValidateClicked (object sender, EventArgs e)
{ {
this.Navigation.PopAsync(); this.Navigation.PopAsync();