<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow"
Height="350" Width="525" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<StackPanel>
<TextBox Foreground="Red" Text="1111" Height="178" Margin="90,68,0,0" Name="textBox1" Width="319" />
</StackPanel>
</Window>
我在本机上和其他机器上都测试可以,输入的数据都能看到,但是有一台机器装了虚拟机,在其虚拟机里面运行程序,不论输入什么东西都看不到,比如输入 123456789,就只能看到一串空白的东西,但是全选中,拷贝出来在文本文件里面黏贴出来,又是123456789这样的一串