fix: binding errors in xaml

This commit is contained in:
leo 2024-06-01 12:13:57 +08:00
parent b74bd997fe
commit 1257234712
10 changed files with 38 additions and 39 deletions

View file

@ -362,7 +362,7 @@
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="12"
Fill="{Binding $parent.Foreground}"/>
Fill="{DynamicResource Brush.FG1}"/>
</ToggleButton>
<ToggleButton Theme="{StaticResource SearchPanelTextBoxButton}"
IsChecked="{Binding $parent[aes:SearchPanel].WholeWords, Mode=TwoWay}"
@ -374,7 +374,7 @@
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="14"
Fill="{Binding $parent.Foreground}"/>
Fill="{DynamicResource Brush.FG1}"/>
</ToggleButton>
<ToggleButton Theme="{StaticResource SearchPanelTextBoxButton}"
IsChecked="{Binding $parent[aes:SearchPanel].UseRegex, Mode=TwoWay}"
@ -386,7 +386,7 @@
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="12"
Fill="{Binding $parent.Foreground}"/>
Fill="{DynamicResource Brush.FG1}"/>
</ToggleButton>
</StackPanel>
</TextBox.InnerRightContent>