Update ProfilesSelectWindow.axaml

master
2dust 2025-09-09 20:00:00 +08:00
parent b95830b3d5
commit b49486cc23
1 changed files with 8 additions and 16 deletions

View File

@ -38,9 +38,10 @@
<WrapPanel Margin="4" DockPanel.Dock="Top"> <WrapPanel Margin="4" DockPanel.Dock="Top">
<ListBox <ListBox
x:Name="lstGroup" x:Name="lstGroup"
Margin="4,0" Margin="{StaticResource MarginLr4}"
DisplayMemberBinding="{Binding Remarks}" DisplayMemberBinding="{Binding Remarks}"
ItemsSource="{Binding SubItems}"> ItemsSource="{Binding SubItems}"
Theme="{DynamicResource ButtonRadioGroupListBox}">
<ListBox.ItemsPanel> <ListBox.ItemsPanel>
<ItemsPanelTemplate> <ItemsPanelTemplate>
<WrapPanel /> <WrapPanel />
@ -89,20 +90,11 @@
Binding="{Binding ConfigType}" Binding="{Binding ConfigType}"
Header="{x:Static resx:ResUI.LvServiceType}" Header="{x:Static resx:ResUI.LvServiceType}"
Tag="ConfigType" /> Tag="ConfigType" />
<DataGridTextColumn
<DataGridTemplateColumn SortMemberPath="Remarks" Tag="Remarks"> Width="120"
<DataGridTemplateColumn.Header> Binding="{Binding Remarks}"
<TextBlock Text="{x:Static resx:ResUI.LvRemarks}" /> Header="{x:Static resx:ResUI.LvRemarks}"
</DataGridTemplateColumn.Header> Tag="Remarks" />
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Margin="8,0" Orientation="Horizontal">
<TextBlock Text="{Binding Remarks}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn <DataGridTextColumn
Width="120" Width="120"
Binding="{Binding Address}" Binding="{Binding Address}"