MonitorView.axaml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  6. x:Class="qmonlib.ui.Views.Monitor.MonitorView">
  7. <Panel>
  8. <Border BorderBrush="Black"
  9. BorderThickness="1"
  10. CornerRadius="4"
  11. Padding="4"
  12. Background="Aquamarine">
  13. <Grid ShowGridLines="True">
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="*"/>
  16. </Grid.ColumnDefinitions>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="16"/>
  19. <RowDefinition Height="32"/>
  20. <RowDefinition Height="*"/>
  21. <RowDefinition Height="16"/>
  22. </Grid.RowDefinitions>
  23. <TextBlock Text="Caption" Grid.Column="0" Grid.Row="0"/>
  24. <TextBlock Text="Control panel" Grid.Column="0" Grid.Row="1"/>
  25. <TextBlock Text="Content" Grid.Column="0" Grid.Row="2"/>
  26. <TextBlock Text="Status" Grid.Column="0" Grid.Row="3"/>
  27. </Grid>
  28. </Border>
  29. </Panel>
  30. </UserControl>