Loading.xaml 1.6 KB

123456789101112131415161718192021222324252627
  1. <UserControl x:Class="HistoryUI.Views.Loading"
  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:HistoryUI.Views"
  7. xmlns:hc="https://handyorg.github.io/handycontrol"
  8. mc:Ignorable="d"
  9. xmlns:prism="http://prismlibrary.com/"
  10. prism:ViewModelLocator.AutoWireViewModel="True"
  11. Width="auto" Height="auto">
  12. <Border Background="White" CornerRadius="8">
  13. <Grid Margin="32">
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition/>
  16. <ColumnDefinition Width="32"/>
  17. <ColumnDefinition/>
  18. <ColumnDefinition Width="32"/>
  19. <ColumnDefinition/>
  20. </Grid.ColumnDefinitions>
  21. <Button Grid.Column="0" Width="160" Height="90" Background="{StaticResource LightNormalColor}" Command="{Binding SelectCommand}" CommandParameter="1">Channel Data</Button>
  22. <Button Grid.Column="2" Width="160" Height="90" Background="{StaticResource LightThemeColor}" Command="{Binding SelectCommand}" CommandParameter="3">Log Trace</Button>
  23. <Button Grid.Column="4" Width="160" Height="90" Background="{StaticResource LightWarningColor}" Command="{Binding SelectCommand}" CommandParameter="2">Alarm History</Button>
  24. </Grid>
  25. </Border>
  26. </UserControl>