11 2021 档案
摘要:在richtextbox中添加 <RichTextBox.Resources> <Style TargetType="{x:Type Paragraph}"> <Setter Property="Margin" Value="0"/> </Style> </RichTextBox.Resources
阅读全文
摘要:Dispatcher.Invoke是同步执行 Dispatcher.Invoke(new Action(() => { stackPanel.Children.Add(new TextBlock() { Text = "1" }); })); stackPanel.Children.Add(new
阅读全文