naC*_*eex 0 c# xaml windows-8 winrt-xaml
我在Windows 8应用程序上工作时遇到问题,无法在文本框中使用文本水印,任何人都可以帮助我了解如何应用水印init。
下面是我的文本框的代码。
<TextBox x:Name="txtUserName" Width="351" Height="45" BorderBrush="Gray" BorderThickness="2" Background="{x:Null}"/>
Run Code Online (Sandbox Code Playgroud)
使用
<TextBox Width="250" Name="_txtBox" PlaceholderText="Please enter CS#"/>
Run Code Online (Sandbox Code Playgroud)