code format?

vnext
Paul Schneider 8 years ago
parent f4e9d9bb86
commit 640dd33b25
1 changed files with 12 additions and 12 deletions

@ -21,23 +21,24 @@
<converters:BooleanToObjectConverter.FalseObject> <converters:BooleanToObjectConverter.FalseObject>
<Style TargetType="Image"> <Style TargetType="Image">
<Setter Property="HeightRequest" Value="20" /> <Setter Property="HeightRequest" Value="20" />
<Setter Property="Source" Value="{extensions:ImageResource BookAStar.Images.Validation.error.png}" /> <Setter Property="Source"
Value="{extensions:ImageResource BookAStar.Images.Validation.error.png}" />
</Style> </Style>
</converters:BooleanToObjectConverter.FalseObject> </converters:BooleanToObjectConverter.FalseObject>
<converters:BooleanToObjectConverter.TrueObject> <converters:BooleanToObjectConverter.TrueObject>
<Style TargetType="Image"> <Style TargetType="Image">
<Setter Property="HeightRequest" Value="20" /> <Setter Property="HeightRequest" Value="20" />
<Setter Property="Source" Value="{extensions:ImageResource BookAStar.Images.Validation.success.png}" /> <Setter Property="Source"
Value="{extensions:ImageResource BookAStar.Images.Validation.success.png}" />
</Style> </Style>
</converters:BooleanToObjectConverter.TrueObject> </converters:BooleanToObjectConverter.TrueObject>
</converters:BooleanToObjectConverter> </converters:BooleanToObjectConverter>
</ResourceDictionary>
</ResourceDictionary>
</ContentPage.Resources> </ContentPage.Resources>
<StackLayout x:Name="mainStackLayout"> <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>
@ -57,9 +58,8 @@
Style="{StaticResource BigEntry}"/> Style="{StaticResource BigEntry}"/>
<Label Text="Prix unitaire" Style="{StaticResource InputLabelStyle}"></Label> <Label Text="Prix unitaire" Style="{StaticResource InputLabelStyle}"></Label>
<StackLayout Orientation="Horizontal"> <StackLayout Orientation="Horizontal">
<Entry Text="{Binding UnitaryCostText, Mode=TwoWay}" Placeholder="Prix" <Entry Text="{Binding UnitaryCostText, Mode=TwoWay}" Placeholder="Prix"
Keyboard="Numeric" Style="{StaticResource BigEntry}" > Keyboard="Numeric" Style="{StaticResource BigEntry}">
<Entry.Behaviors> <Entry.Behaviors>
<behaviors:DecimalValidatorBehavior x:Name="unitCostValidator" /> <behaviors:DecimalValidatorBehavior x:Name="unitCostValidator" />
</Entry.Behaviors> </Entry.Behaviors>

Loading…