DeepObjectDetectPage.xaml 1.3 KB

12345678910111213141516171819202122232425262728
  1. <Page x:Class="MvvmScaffoldFrame48.WPFPage.DeepObjectDetectPage"
  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:MvvmScaffoldFrame48.WPFPage"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="DeepObjectDetectPage">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="*"/>
  13. <ColumnDefinition Width="0.3*"/>
  14. <ColumnDefinition Width="100"/>
  15. </Grid.ColumnDefinitions>
  16. <Grid Grid.Column="0">
  17. <Image Source="{Binding ShowImage}" />
  18. </Grid>
  19. <Grid Grid.Column="1">
  20. <Image Source="{Binding ShowErrImage}" Width="100" Height="100" VerticalAlignment="Top" />
  21. <TextBlock Text="{Binding ShowText}" VerticalAlignment="Top" Margin="0,100,0,0" />
  22. </Grid>
  23. <Grid Grid.Column="2">
  24. <Button x:Name="RunOnceBtn" Content="RunOnce" Command="{Binding TestCommand}" Height="60" HorizontalAlignment="Center" VerticalAlignment="Top" Width="90" />
  25. </Grid>
  26. </Grid>
  27. </Page>