Summary.xaml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <UserControl x:Class="ProximaAnalizer.Views.Summary"
  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:ProximaAnalizer.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. mc:Ignorable="d"
  10. d:DesignHeight="450" d:DesignWidth="800">
  11. <UserControl.Resources>
  12. <ResourceDictionary Source="/UICommon;component/Resources.xaml">
  13. </ResourceDictionary>
  14. </UserControl.Resources>
  15. <Grid Background="{StaticResource BackgroundColor}">
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="auto"/>
  18. <RowDefinition Height="0"/>
  19. <RowDefinition/>
  20. </Grid.RowDefinitions>
  21. <Button Grid.Row="0" HorizontalAlignment="Left" Width="80" Height="24" Command="{Binding ReturnCommand}" Style="{StaticResource FunctionButton}">返回主页</Button>
  22. <!--<StackPanel Orientation="Horizontal">
  23. <Button Command="{Binding TestCommand}" CommandParameter="DBInfoTrace">Trace</Button>
  24. <Button Command="{Binding TestCommand}" CommandParameter="DBInfoAlarm">Alarm</Button>
  25. </StackPanel>-->
  26. <ContentControl Grid.Row="2" prism:RegionManager.RegionName="MainRegion"/>
  27. </Grid>
  28. </UserControl>