mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-28 11:02:51 +00:00
Compare commits
12 commits
182e3d0e72
...
96c023fa9a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96c023fa9a | ||
|
|
a055108a53 | ||
|
|
72b5a40b95 | ||
|
|
cdde1fca09 | ||
|
|
9f9092e9c7 | ||
|
|
3f8bbb6074 | ||
|
|
9cc3122bda | ||
|
|
dafc765a82 | ||
|
|
b62cfd9d4b | ||
|
|
ff7fc64575 | ||
|
|
213c0cd793 | ||
|
|
5c38e96493 |
1 changed files with 23 additions and 4 deletions
|
|
@ -18,9 +18,6 @@
|
|||
<UserControl.Resources>
|
||||
<BooleanToVisibilityConverter x:Key="BoolToVisConverter" />
|
||||
<conv:DelayColorConverter x:Key="DelayColorConverter" />
|
||||
<Style x:Key="AccessibleMyChipListBoxItem" TargetType="ListBoxItem" BasedOn="{StaticResource MyChipListBoxItem}">
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding Remarks}" />
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<DockPanel>
|
||||
|
|
@ -29,7 +26,6 @@
|
|||
x:Name="lstGroup"
|
||||
MaxHeight="200"
|
||||
FontSize="{DynamicResource StdFontSize}"
|
||||
ItemContainerStyle="{StaticResource AccessibleMyChipListBoxItem}"
|
||||
Style="{StaticResource MaterialDesignChoiceChipPrimaryOutlineListBox}"
|
||||
AutomationProperties.Name="{x:Static resx:ResUI.menuSubscription}">
|
||||
<ListBox.ItemTemplate>
|
||||
|
|
@ -37,6 +33,29 @@
|
|||
<TextBlock Text="{Binding Remarks}" />
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
<ListBox.ItemContainerStyle>
|
||||
<Style TargetType="ListBoxItem" BasedOn="{StaticResource MyChipListBoxItem}">
|
||||
<Setter Property="Focusable" Value="False" />
|
||||
<Setter Property="AutomationProperties.Name" Value="{Binding Remarks}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="ListBoxItem">
|
||||
<RadioButton
|
||||
IsChecked="{TemplateBinding IsSelected}"
|
||||
Content="{TemplateBinding Content}"
|
||||
AutomationProperties.Name="{Binding Remarks}">
|
||||
<RadioButton.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock
|
||||
AutomationProperties.Name="{Binding Remarks}" />
|
||||
</DataTemplate>
|
||||
</RadioButton.ContentTemplate>
|
||||
</RadioButton>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ListBox.ItemContainerStyle>
|
||||
</ListBox>
|
||||
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Reference in a new issue