ReadyToGoPanel.xaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <UserControl x:Class="PRSDesktop.ReadyToGoPanel"
  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:PRSDesktop"
  7. mc:Ignorable="d"
  8. d:DesignHeight="300" d:DesignWidth="600">
  9. <Grid Margin="2" x:Name="Grid">
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="*" />
  12. </Grid.ColumnDefinitions>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto" />
  15. <RowDefinition Height="*" />
  16. </Grid.RowDefinitions>
  17. <Border Grid.Row="0" Grid.Column="0" CornerRadius="5,5,0,0" BorderBrush="DarkGray" BorderThickness="0.75"
  18. Background="WhiteSmoke" Margin="2,2,2,0">
  19. <Grid>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="Auto" />
  22. <ColumnDefinition Width="*" />
  23. <ColumnDefinition Width="50" />
  24. </Grid.ColumnDefinitions>
  25. <Grid.RowDefinitions>
  26. <RowDefinition Height="Auto" />
  27. </Grid.RowDefinitions>
  28. <Label Content="Search For" Grid.Row="0" Grid.Column="0" Margin="5" />
  29. <TextBox x:Name="SearchBox" Grid.Row="0" Grid.Column="1" Margin="0,5,5,5"
  30. VerticalContentAlignment="Center" KeyUp="SearchBox_KeyUp" />
  31. <Button x:Name="ClearSearchButton" Grid.Row="0" Grid.Column="2" Margin="0,5,5,5" Content="Clear"
  32. Click="ClearSearchButton_Click" />
  33. </Grid>
  34. </Border>
  35. <local:ReadyToGoGrid x:Name="Items" Grid.Row="1" Grid.Column="0" />
  36. </Grid>
  37. </UserControl>