Add field 2d viewer

This commit is contained in:
Evgeny Redikultsev
2025-12-27 21:59:20 +05:00
parent d81b72d420
commit 3b95fab0b2
28 changed files with 726 additions and 29 deletions

View File

@@ -9,7 +9,7 @@
<Grid x:Name="grid">
<StackPanel>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="#FF868686"></TextBlock>
<ListBox Name="LegendBox" ItemsSource="{Binding}">
<ListBox Name="LegendBox" ItemsSource="{Binding ColorRanges, RelativeSource={RelativeSource AncestorType=UserControl}}">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Height="30" Width="190" VerticalAlignment="Top" Background="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}">
@@ -44,6 +44,5 @@
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
</Grid>
</UserControl>