Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <ListView
  2. HasUnevenRows="True"
  3. SeparatorVisibility="None"
  4. CachingStrategy="RecycleElement"
  5. ItemsSource="{Binding Contacts}">
  6. <ListView.Behaviors>
  7. <b:EventToCommandBehavior
  8. EventName="ItemTapped"
  9. Command="{Binding ContactTappedCommand}"
  10. EventArgsParameterPath="Item"/>
  11. </ListView.Behaviors>
  12. <ListView.ItemTemplate>
  13. <DataTemplate>
  14. <ViewCell>
  15. <Frame
  16. Style="{StaticResource ListViewEintrag}">
  17. <Grid
  18. Style="{StaticResource ListViewGrid}"
  19. RowDefinitions="{StaticResource RowDefinition}"
  20. ColumnDefinitions="{StaticResource ColumnDefinition}">
  21. <local:CustomLabel
  22. Grid.Row="0"
  23. Grid.Column="0"
  24. LetterSpacing="0.15"
  25. Style="{StaticResource Name}"
  26. Text="{Binding Name}"/>
  27. <local:CustomLabel
  28. Grid.Row="1"
  29. Grid.Column="0"
  30. TextColor="#33A028"
  31. Style="{StaticResource Info}"
  32. Text="{Binding TotalCredits, Converter={StaticResource DecimalToCurrency}}"/>
  33. <local:CustomLabel
  34. Grid.Row="2"
  35. Grid.Column="0"
  36. TextColor="#BC2F36"
  37. Style="{StaticResource Info}"
  38. Text="{Binding TotalDebts, Converter={StaticResource DecimalToCurrency}}"/>
  39. <local:CustomLabel
  40. LetterSpacing="0.1"
  41. Grid.RowSpan="3"
  42. Grid.Column="1"
  43. FontSize="18"
  44. Margin="10,0"
  45. FontFamily="{StaticResource Bliss2-Bold}"
  46. VerticalTextAlignment="Center"
  47. HorizontalTextAlignment="End"
  48. TextColor="{Binding Color}"
  49. Text="{Binding AbsSaldo, Converter={StaticResource DecimalToCurrency}}"/>
  50. </Grid>
  51. </Frame>
  52. </ViewCell>
  53. </DataTemplate>
  54. </ListView.ItemTemplate>
  55. </ListView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement