Conventions Used in This Book


The following list details the font conventions used in the book:


Constant width

Indicates anything that might appear in a XAML document, including element names, tags, attribute values, and entity references, or anything that might appear in a program, including keywords, operators, method names, class names, and literals.


Constant width bold

Indicates user input or emphasis in code examples and fragments.


Constant width italic

Denotes replaceable elements in code statements.


Italic

Indicates emphasis in body text, new terms when they are defined, pathnames, filenames, program names, and host and domain names.

This icon signifies a tip, suggestion, or general note.


This icon indicates a warning or caution.


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.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net