分组,取消分组 ReDo UnDo 整理

This commit is contained in:
艾竹
2023-04-08 21:48:43 +08:00
parent fa96573cbd
commit 8ad42aec49
15 changed files with 123 additions and 62 deletions

View File

@@ -19,7 +19,7 @@
</UserControl.Resources>
<Grid IsHitTestVisible="{Binding IsHitTestVisible}">
<TextBox x:Name="PART_TextBlock"
Text="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Text="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=LostFocus}"
Foreground="{Binding FontViewModel.FontColor,Converter={StaticResource ColorBrushConverter}}"
FontSize="{Binding FontViewModel.FontSize}"
FontFamily="{Binding FontViewModel.FontFamily}"
@@ -37,7 +37,7 @@
</TextBox>
<TextBox x:Name="PART_ShowText"
Text="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Text="{Binding Text, Mode=TwoWay, UpdateSourceTrigger=LostFocus}"
Foreground="{Binding FontViewModel.FontColor,Converter={StaticResource ColorBrushConverter}}"
IsReadOnly="{Binding IsReadOnlyText}"
FontSize="{Binding FontViewModel.FontSize}"