Progress on radio implementation

This commit is contained in:
Théo Marchal 2021-10-03 13:57:45 +02:00
parent 32d3610b07
commit 23098e0ebb

View File

@ -8,9 +8,7 @@
mc:Ignorable="d"
Title="Radios" Closing="Window_Closing" SizeToContent="WidthAndHeight" ResizeMode="NoResize">
<Grid>
<StackPanel HorizontalAlignment="Left" Orientation="Vertical">
<GroupBox DockPanel.Dock="Top" Padding="0,4,0,0" Margin="5,0,5,0">
<GroupBox.Header>
<StackPanel Orientation="Horizontal">
@ -56,8 +54,7 @@
</Grid.Resources>
<DataGrid Name="RadioListGrid" CanUserAddRows="False" CanUserDeleteRows="False"
IsReadOnly="True" MouseDoubleClick="Row_DoubleClick" SelectionMode="Single" CanUserReorderColumns="False"
HeadersVisibility="Column" GridLinesVisibility="None" AutoGenerateColumns="False" CanUserResizeRows="False"
>
HeadersVisibility="Column" GridLinesVisibility="None" AutoGenerateColumns="False" CanUserResizeRows="False">
<DataGrid.Columns>
<DataGridTemplateColumn Header="🏳️" CellTemplate="{StaticResource CountryTemplate}" MinWidth="25" />
<DataGridTextColumn Header="Name" Binding="{Binding Name}" MinWidth="50"/>
@ -73,7 +70,5 @@
</DataGrid.CellStyle>
</DataGrid>
</Grid>
</StackPanel>
</Grid>
</Window>