The following list details the font conventions used in the book:
Significant code fragments, complete applications, and documents generally appear in a separate paragraph, like this: <Page xmlns="http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"> <StackPanel> <TextBlock>Hello World</TextBlock> </StackPanel> </Page> When a property has a fixed set of values from which to choose, those choices will be displayed as a pipe-separated list: SelectionMode="Single|Multiple|Extended" > XAML, like XML, is case-sensitive. The Page element is not the same as the PAGE or page element. Both are also character-encoding-sensitive, and the smart quotes found in a Microsoft Word document or in the help files accompanying the WinFX SDK are not considered the same as the double quotes produced by applications such as Microsoft's Visual Studio or Notepad. Smart quotes are not valid within a XAML document, so it is important that you use the "Copy code" option in the WinFX SDK help system or turn off smart quotes in Microsoft Word if you wish to use either program to create XAML applications. |