xaml中使用的特殊字符和xml是一样的,
小于号( <) < 大于号 (>) > &符号 (&) &; 引号(“) "
xaml 空白处理。
http://msdn.microsoft.com/zh-cn/library/ms788746.aspx 这是msdn上的介绍。
<Window x:Class="xaml_first.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">
<Grid>
<TextBox Name="txtQuestion" xml:space="preserve" >
[There is a lot of space inside thes quotation marks" ".]
</TextBox>
</Grid>
</Window>
这个是一个小例子!
我发现写博客还真不是容易活,提炼内容不容易,主要是我发现能看懂的部分真少,各种看不懂,最近看书总是走马观花,部分章节看明白!