Mastering LOB Development for Silverlight 5:A Case Study in Action
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

<StackPanel 
  Grid.Row="2" 
  Orientation="Horizontal" HorizontalAlignment="Right">
  <Button Content="New" 
    Width="60" Height="30"/>
  <Button Content="Save" 
    Margin="5,0,0,0" 
    Width="60" Height="30"/>
  <Button Content="Delete" 
    Margin="5,0,0,0" 
    Width="60" Height="30"/>
</StackPanel>

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

Grid x:Name="LayoutRoot" Background="White">
 <TextBlock Text="Hello World!" FontSize="20"/>
</Grid>

Any command-line input or output is written as follows:

install-package Moq

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "For Comments textbox to occupy all of the grid width, we add a property called ColSpan".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.