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> </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>

@ -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();

Loading…