TourList.xaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <Page x:Class="TestForDemo.TourList"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:TestForDemo"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="TourList">
  10. <Page.Resources>
  11. <DataTemplate x:Key="ListT">
  12. <Border BorderBrush="Black" BorderThickness="1">
  13. <StackPanel>
  14. <TextBlock>
  15. dfjgdfl;jgdfl;gjdlfgj
  16. </TextBlock>
  17. </StackPanel>
  18. </Border>
  19. </DataTemplate>
  20. </Page.Resources>
  21. <Grid>
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="75"/>
  24. <RowDefinition Height="*"/>
  25. </Grid.RowDefinitions>
  26. <StackPanel Orientation="Vertical">
  27. <TextBlock Text="1"/>
  28. <TextBlock Text="1"/>
  29. <TextBlock Text="1"/>
  30. <TextBlock Text="1"/>
  31. </StackPanel>
  32. <ListView x:Name="Listtour" ItemTemplate="{StaticResource ListT}" Grid.Row="1"/>
  33. </Grid>
  34. </Page>