sa/Stars Assistant/Views/BuColView.axaml
2024-09-24 22:32:13 +02:00

56 lines
2.4 KiB
XML

<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:StarsAssistant.ViewModels"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="StarsAssistant.Views.BuColView"
x:DataType="vm:BuColViewModel">
<DataGrid x:Name="PlanetsGrid"
ItemsSource="{Binding Planets}"
IsReadOnly="True"
GridLinesVisibility="All"
FrozenColumnCount="1"
BorderThickness="1" BorderBrush="Gray">
<DataGrid.Columns>
<DataGridTextColumn Header="Planet" Binding="{Binding Name}" />
<!-- Class -->
<!-- Info -->
<DataGridTextColumn Header="Pop" Binding="{Binding Population}" />
<!-- Pop To Ship -->
<DataGridTextColumn Header="Growth" Binding="{Binding PopulationGrowth}" />
<!-- Pop en route -->
<!-- Pop Target % -->
<DataGridTextColumn Header="Pop%" Binding="{Binding CapacityPercent}" />
<!-- Terra Delta assumed -->
<DataGridTextColumn Header="Value" Binding="{Binding Value}" />
<!-- Effective Value including Terra Delta -->
<DataGridTextColumn Header="Max Val" Binding="{Binding MaxTerraforming}" />
<!-- Cargo Cap T1 -->
<!-- Cargo Cap T0 -->
<!-- Iro MRE including Shipping -->
<!-- Iro Avl including MRE -->
<!-- Iro Shipping including MRE -->
<!-- Bor MRE including Shipping -->
<!-- Bor Avl including MRE -->
<!-- Bor Shipping including MRE -->
<!-- Ger MRE including Shipping -->
<!-- Ger Avl including MRE -->
<!-- Bor Shipping including MRE -->
<!-- Shipbuilding Columns -->
<!-- Factories remaining to pop target -->
<!-- Factories Germanium Delta for target -->
<!-- Factory production per turn -->
<!-- Mines remaining to pop target -->
<DataGridTextColumn Header="Mines" Binding="{Binding Mines}" />
<DataGridTextColumn Header="Fact" Binding="{Binding Factories}" />
<DataGridTextColumn Header="Res" Binding="{Binding Resources}" />
<!-- Overcrowding Rate -->
<!-- Target population absolute -->
</DataGrid.Columns>
</DataGrid>
</UserControl>