最佳答案
是否可以向文本块添加边框。我需要它被添加到 setter 属性下面的代码:
<Style x:Key="notCalled" TargetType="{x:Type TextBlock}">
<Setter Property="Margin" Value="2,2,2,2" />
<Setter Property="Background" Value="Transparent" />
</Style>