Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By
Safari Books Online 1
Example1-3. A minimal msbuild project file

the 1st.csproj is not valid and doen't open in visual studio becuase the Compile element has no end tag:

Example1-3. A minimal msbuild project file
<Compile Include="MyApp.cs" >

should be
<Compile Include="MyApp.cs" />

mike anderson 
Safari Books Online 1.1.3
Code for Example 1-13

(Sorry, I don't have a page number -- I'm reading in Safari.)

Line 13 of example 1-13 is this:

<Compile Include="MyApp.xaml.cs" />

In order to get it to compile, I had to remove the slash:

<Compile Include="MyApp.xaml.cs" >

Anonymous 
Printed Page 5
Example 1-5 code

void AppStartup(object sender, StartupEventArgs e)
should be read
static void AppStartup(object sender, StartEventArgs e)

Anonymous 
Safari Books Online 6.2.11
http://proquestcombo.safaribooksonline.com/9780596510374/data_binding-id1

"desfault" should be spelled as "default".

Nitin Rathee 
Printed Page 11
Code for Example 1-13

Line 13 of example 1-13 is this:

<Compile Include="MyApp.xaml.cs" />

In order to get it to compile, I had to remove the slash:

<Compile Include="MyApp.xaml.cs" >

Anonymous 
Printed Page 26
Data Templates

I suppose that the XAML in Example 1-29 put into an XAML editor will produce Figure 1-16

landon kelsey 
Printed Page 38
2nd edition

problem page 38 example 2-3

the XAML is supposed to define the application but doesn't and is incomplete.

The C# code supposed to be produced is under the incomplete XAML.

landon kelsey 
Printed Page 72
Figure 3-10

The Figure 3-10 is supposed to show "the Grid has made all the columns the same width" but it is
not. (Left column is shorter than right column).

Anonymous 
Printed Page 179
Figure 6-8

(this error is also in the printed version of the book)
Under BindingSource:
"<unknown>.Name" should read:
"<unknown>.Age"

Anonymous 
Printed Page 179
1st paragraph

"... Example 6-8 is creating a binding between the Text property of the TextBox and the Name
property..."

should be:

"... Example 6-8 is creating a binding between the Text property of the TextBox and the Age
property..."

because Example 6-8 is:

<TextBox Text="{Binding Path=Age}" />

Anonymous 
Safari Books Online 179
Figure 6-8

(this error is also in the printed version of the book)
Under BindingSource:
"<unknown>.Name" should read:
"<unknown>.Age"

Anonymous 
Printed Page 208
first line

"The SelectedValue is exposed from the ItemsControl..." should be "The SelectedValue is exposed
from the Selector..."

Anonymous 
Printed Page 208
Example 7-7

The second line in the code:

// INotifyPropertyChangeIdINotifyPropertyChanged Members

should be

// INotifyPropertyChange Members

Anonymous 
Printed Page 267
Example 8-12, lines 4-11 on page

In the if(CurrentPlayer) block in the TicTacToe game, when the intention is to switch the player (from X to O and vice versa), instead of the assignment operator =, the comparison operator == is used instead.

Example 8-2 on page 259 includes a longer snippet which does not appear to have this error.

Michael Kjörling 
Printed Page 282
Code Example

Missing <EventTrigger.Actions> property element in the XAML markup.

Should be as follows:
<EventTrigger RoutedEvent="Click">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Opacity"
From="0" To="1" Duration="0:0:2" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>

Anonymous 


"The book contains several advanced topics that enable developers to create and deploy cutting edge WPF applications in a minimum amount of time."
--Anand Narayanaswamy, ASP Alliance