| 1 | <UserControl xmlns="https://github.com/avaloniaui" |
| 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | xmlns:views="using:CascadeIDE.Views" |
| 4 | xmlns:vm="using:CascadeIDE.ViewModels" |
| 5 | x:Class="CascadeIDE.Views.ZoneInstrumentMountView" |
| 6 | x:DataType="vm:MainWindowViewModel"> |
| 7 | <Border CornerRadius="8" |
| 8 | BorderThickness="1" |
| 9 | BorderBrush="{Binding HostBorderBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" |
| 10 | Background="#22000000" |
| 11 | Padding="8,6" |
| 12 | IsHitTestVisible="False"> |
| 13 | <Grid RowDefinitions="Auto,Auto,Auto,Auto,Auto" ColumnDefinitions="Auto,*" RowSpacing="2" ColumnSpacing="6"> |
| 14 | <TextBlock Grid.Row="0" Grid.ColumnSpan="2" |
| 15 | Text="{Binding HeaderText, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" |
| 16 | Foreground="{Binding HeaderBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" |
| 17 | FontSize="11" |
| 18 | FontWeight="SemiBold"/> |
| 19 | <TextBlock Grid.Row="1" Grid.Column="0" Text="Build:" Foreground="{Binding LabelBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 20 | <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding IdeHealthBuildCockpitShort}" Foreground="{Binding ValueBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 21 | <TextBlock Grid.Row="2" Grid.Column="0" Text="Tests:" Foreground="{Binding LabelBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 22 | <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding IdeHealthTestsCockpitShort}" Foreground="{Binding ValueBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 23 | <TextBlock Grid.Row="3" Grid.Column="0" Text="Debug:" Foreground="{Binding LabelBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 24 | <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding IdeHealthDebugCockpitShort}" Foreground="{Binding ValueBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 25 | <TextBlock Grid.Row="4" Grid.Column="0" Text="Safety:" Foreground="{Binding LabelBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11"/> |
| 26 | <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding SafetyLevel}" Foreground="{Binding SafetyBrush, RelativeSource={RelativeSource AncestorType=views:ZoneInstrumentMountView}}" FontSize="11" FontWeight="Bold"/> |
| 27 | </Grid> |
| 28 | </Border> |
| 29 | </UserControl> |
| 30 | |