我想更改只读文本框的颜色
可以将默认颜色更改为白色
<Style TargetType="TextBox">
<Setter Property="Background"
Value="White"/>
<Setter Property="Foreground"
Value="Black"/>
</Style>
和文本框为
<TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" Height="18" Padding="0" IsReadOnly="True" Margin="3,0,3,0"/>
提前致谢