corrige le label du bouton

vnext
Paul Schneider 8 years ago
parent 0548f8882b
commit c9211fbb99
2 changed files with 12 additions and 7 deletions

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

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

Loading…