Allow setting fonts separately for query box and results

Fixes #1284: `CollectionViewSource` will synchronize the current item
across all users of the same view source unless they explicitly set
`IsSynchronizedWithCurrentItem`.
This commit is contained in:
Oren Nachman 2022-07-24 18:49:19 -07:00
parent fee3d1da90
commit 7352c112dd

View file

@ -1796,7 +1796,8 @@
HorizontalAlignment="Left"
VerticalAlignment="Top"
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
SelectedItem="{Binding SelectedQueryBoxFont}" />
SelectedItem="{Binding SelectedQueryBoxFont}"
IsSynchronizedWithCurrentItem="False" />
<ComboBox
Width="130"
Margin="10,0,0,0"
@ -1846,7 +1847,8 @@
HorizontalAlignment="Left"
VerticalAlignment="Top"
ItemsSource="{Binding Source={StaticResource SortedFonts}}"
SelectedItem="{Binding SelectedResultFont}" />
SelectedItem="{Binding SelectedResultFont}"
IsSynchronizedWithCurrentItem="False" />
<ComboBox
Width="130"
Margin="10,-2,0,0"