Article ID: 957292 - Last Review: August 27, 2008 - Revision: 1.5

MCTS Self-Paced Training Kit (Exam 70-502): Microsoft® .NET Framework 3.5—Windows® Presentation Foundation comments and corrections

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

On This Page

Expand all | Collapse all

SUMMARY

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book MCTS Self-Paced Training Kit (Exam 70-502): Microsoft .NET Framework 3.5 Windows Presentation Foundation, 978-0-7356-2566-2.

The following topics are covered:

  • CD-ROM: Readiness Review Assessment answer incorrect
  • Page xxi: "Microsoft Certified IT Professional (MCITP)" should be "Microsoft Certified Technology Specialist (MCTS)"
  • Page xxiii: Linkld should be LinkId
  • Page 5: WindowsStyle should be WindowStyle and NoBorder should be None
  • Page 7: NoBorder should be None
  • Page 22: "NavigateURI" should be "NavigateUri"
  • Pages 27 & 28: Order of Navigation Events incorrect
  • Page 39: Order of Navigation Events incorrect
  • Page 50: "<=" should be "<"
  • Page 51: "BackgroundWorker.RunCompleted" should be "BackgroundWorker.RunWorkerCompleted"
  • Page 57: "2005" should be "2008"
  • Page 309: Space needs to be removed from XML code
  • Page 327: "Widtht" should be "Width"
  • Page 349: "color" should be "Color"

MORE INFORMATION

CD-ROM: Readiness Review Assessment answer incorrect

On the Readiness Review assessment, one of the questions begins:

"You are creating a Windows Presentation Foundation application. You must add code so that when a window's menu item is clicked the ApplicationCommands.Save command is executed."

The answer that is marked as correct is incorrect:

"Add the following C# code to the window's constructor:

this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Save));"

The answer should be:

"Add the following XAML menu declaration:

<MenuItem Header="_Save" Command="ApplicationCommands.Save" />"

Page xxiii: Linkld should be LinkId

On page xxiii, the URL in the "Digital Content for Digital Book Readers" box includes a lowercase L rather than an uppercase i in LinkId.

Change:
"http://go.microsoft.com/fwlink/?Linkld=120409"

To:
"http://go.microsoft.com/fwlink/?LinkId=120409 (http://go.microsoft.com/fwlink/?LinkId=120409) "

Page xxi: "Microsoft Certified IT Professional (MCITP)" should be "Microsoft Certified Technology Specialist (MCTS)"

On page xxi, the first sentence is incorrect.

Change:
"This training kit is designed for developers who plan to take the Microsoft Certified IT Professional (MCITP) Exam 70-502, as well as for developers who need to know how to develop Microsoft Windows Presentation Foundation (WPF)–based applications using Microsoft .NET Framework 3.5."

To:
"This training kit is designed for developers who plan to take the Microsoft Certified Technology Specialist (MCTS) Exam 70-502, as well as for developers who need to know how to develop Microsoft Windows Presentation Foundation (WPF)–based applications using Microsoft .NET Framework 3.5."

Page 5: WindowsStyle should be WindowStyle and NoBorder should be None

On page 5, the last sentence of the "AllowsTransparency" description in Table 1-1 is incorrect.

Change:
"When AllowsTransparency is set to True, WindowsStyle must be set to WindowsStyle.NoBorder."

To:
"When AllowsTransparency is set to True, WindowStyle must be set to WindowStyle.None."

Page 7: NoBorder should be None

On page 7, the Description of WindowStyle in Table 1-1 is incorrect.

Change:
"Gets or sets the style of the window. The window style can be set to NoBorder, SingleBorderWindow, ThreeDBorderWindow, or ToolWindow.
SingleBorderWindow and ThreeDBorderWindow appear identical when run on Microsoft Windows Vista. ToolWindow appears with no icon and no minimize or maximize buttons. If AllowsTransparency is set to True, you must set WindowStyle to NoBorder."

To:
"Gets or sets the style of the window. The window style can be set to None, SingleBorderWindow, ThreeDBorderWindow, or ToolWindow.
SingleBorderWindow and ThreeDBorderWindow appear identical when run on Microsoft Windows Vista. ToolWindow appears with no icon and no minimize or maximize buttons. If AllowsTransparency is set to True, you must set WindowStyle to None."

Page 22: "NavigateURI" should be "NavigateUri"

On page 22, the third sentence of the last paragraph incorrect capitalization in a property.

Change:
"To change the NavigateURI property dynamically, you must set the Name property of the hyperlink in XAML, as shown here in bold:"

To:
"To change the NavigateUri property dynamically, you must set the Name property of the hyperlink in XAML, as shown here in bold:"

Pages 27 & 28: Order of Navigation Events incorrect

On pages 27 & 28, Table 1-2 the order of Navigation Events is partially incorrect.

The following two events and their descriptions need to be switched:
Navigated
NavigationProgress

The correct order should be:
Navigating
NavigationProgress
Navigated
LoadCompleted
FragmentNavigation
NavigationStopped
NavigationFailed

Page 39: Order of Navigation Events incorrect

On page 39, Lesson 2 review, Question 3, Answer B has the events listed incorrectly.

Change:
"B. Navigating
Navigated
NavigationProgress
LoadCompleted
FragmentNavigation"

To:
"B. Navigating
NavigationProgress
Navigated
LoadCompleted
FragmentNavigation"

Page 50: "<=" should be "<"

On page 50, the first and third lines of the first C# code sample are incorrect.

Change:
for (int i = 0; i <= 500; i++)
{
for (int j = 1; j <= 10000000; j++)

To:
for (int i = 0; i < 500; i++)
{
for (int j = 1; j < 10000000; j++)

Page 51: "BackgroundWorker.RunCompleted" should be "BackgroundWorker.RunWorkerCompleted"

On page 51, the second bullet point on the page contains an incorrect event name.

Change:
"The BackgroundWorker.RunCompleted event is fired when the background process s completed."

To:
"The BackgroundWorker.RunWorkerCompleted event is fired when the background process s completed."

Page 57: "2005" should be "2008"

On page 57, the second bullet point up from the bottom contains an incorrect version of Visual Studio.

Change:
"Microsoft Visual Studio 2005 Professional Edition installed on your computer"

To:
"Microsoft Visual Studio 2008 Professional Edition installed on your computer"

Page 309: Space needs to be removed from XML code

On page 309, the third line down in the XML code contains an unnecessary space in a property.

Change: <
Setter Property=" Content" Value="Style set for all buttons" />

To:
<Setter Property="Content" Value="Style set for all buttons" />

Page 327: "Widtht" should be "Width"

On page 327, the 7th line down in the first XML code contains an incorrectly spelled property.

Change:
Storyboard.TargetProperty="Widtht" />

To:
Storyboard.TargetProperty="Width" />

Page 349: "color" should be "Color"

On page 349, in the 13th line of the C# code sample the word "color" should be capitalized.

Change:
private color ConvertColors(System.Drawing.Color aColor)

To:
private Color ConvertColors(System.Drawing.Color aColor)

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

APPLIES TO
  • MCTS Self-Paced Training Kit (Exam 70-502): Microsoft .NET Framework 3.5—Windows Presentation Foundation, ISBN 978-0-7356-2566-2
Keywords: 
KB957292