KanbanEditNotesView.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <local:KanbanEditView xmlns="http://xamarin.com/schemas/2014/forms"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. xmlns:local="clr-namespace:PRS.Mobile;assembly=PRS.Mobile"
  5. xmlns:mobile="clr-namespace:InABox.Mobile;assembly=InABox.Mobile.Shared"
  6. x:Class="PRS.Mobile.KanbanEditNotesView"
  7. x:DataType="local:KanbanEditViewModel">
  8. <local:KanbanEditView.Content>
  9. <Frame BorderColor="Gray" CornerRadius="5" HasShadow="false" Margin="0" Padding="0">
  10. <mobile:MobileCollectionView
  11. Spacing="0"
  12. x:Name="_notes">
  13. <mobile:MobileCollectionView.ItemTemplate>
  14. <DataTemplate x:DataType="x:String">
  15. <StackLayout Orientation="Vertical" Spacing="0" Margin="0" Padding="0">
  16. <Label
  17. Text="{Binding .}"
  18. LineBreakMode="WordWrap"
  19. VerticalOptions="StartAndExpand"
  20. VerticalTextAlignment="Center"
  21. HorizontalOptions="Fill"
  22. BackgroundColor="Gainsboro"
  23. Margin="0"
  24. Padding="5,10"/>
  25. <BoxView HeightRequest="1" Color="Silver" Margin="0" CornerRadius="0" />
  26. </StackLayout>
  27. </DataTemplate>
  28. </mobile:MobileCollectionView.ItemTemplate>
  29. </mobile:MobileCollectionView>
  30. </Frame>
  31. </local:KanbanEditView.Content>
  32. </local:KanbanEditView>