gives the Picker a Title

main
Paul Schneider 9 years ago
parent 3a673c6a45
commit f9fba42308
1 changed files with 4 additions and 4 deletions

@ -15,14 +15,14 @@
</Style> </Style>
</ResourceDictionary> </ResourceDictionary>
</ContentPage.Resources> </ContentPage.Resources>
<StackLayout> <StackLayout x:Name="mainStackLayout">
<Label Text="Description de la ligne de facture" Style="{StaticResource InputLabelStyle}"></Label> <Label Text="Description de la ligne de facture" Style="{StaticResource InputLabelStyle}"></Label>
<Editor VerticalOptions="FillAndExpand"></Editor> <Editor VerticalOptions="FillAndExpand"></Editor>
<Label Text="Durée de la prestation" <Label Text="Durée de la prestation"
Style="{StaticResource InputLabelStyle}"></Label> Style="{StaticResource InputLabelStyle}"></Label>
<StackLayout Orientation="Horizontal"> <StackLayout Orientation="Horizontal">
<Entry Placeholder="Durée" Keyboard="Numeric" Style="{StaticResource BigEntry}"/> <Entry Placeholder="Durée" Keyboard="Numeric" Style="{StaticResource BigEntry}" />
<Picker SelectedIndex="1" Style="{StaticResource PickerStyle}"> <Picker x:Name="picker" SelectedIndex="1" Style="{StaticResource PickerStyle}" Title="Unité de temps">
<Picker.Items> <Picker.Items>
<x:String>Heures</x:String> <x:String>Heures</x:String>
<x:String>Jours</x:String> <x:String>Jours</x:String>
@ -37,6 +37,6 @@
<Entry Placeholder="Prix" Keyboard="Numeric" Style="{StaticResource BigEntry}"></Entry> <Entry Placeholder="Prix" Keyboard="Numeric" Style="{StaticResource BigEntry}"></Entry>
<Label Text="€" Style="{StaticResource BigLabel}" HorizontalTextAlignment="Start"/> <Label Text="€" Style="{StaticResource BigLabel}" HorizontalTextAlignment="Start"/>
</StackLayout> </StackLayout>
<Button Text="Valider cette ligne de facture"></Button> <Button Text="Valider cette ligne de facture" Command="{Binding ValidateCommand}"></Button>
</StackLayout> </StackLayout>
</ContentPage> </ContentPage>
Loading…