MCTS Self Paced Training Kit Exam 70 511 Windows Application Development With Microsoft NET Framework 4 Matthew A. Stoecker Download PDF
MCTS Self Paced Training Kit Exam 70 511 Windows Application Development With Microsoft NET Framework 4 Matthew A. Stoecker Download PDF
https://ebookultra.com/download/mcts-self-paced-training-kit-
exam-70-511-windows-application-development-with-microsoft-net-
framework-4-matthew-a-stoecker/
https://ebookultra.com/download/mcts-self-paced-training-kit-
exam-70-667-configuring-microsoft-sharepoint-2010-dan-holme/
https://ebookultra.com/download/mcitp-self-paced-training-kit-
exam-70-686-windows-7-desktop-administrator-craig-zacker-2/
https://ebookultra.com/download/mcitp-self-paced-training-kit-
exam-70-686-windows-7-desktop-administrator-craig-zacker/
MCITP Self Paced Training Kit Exam 70 647 Windows Server
Enterprise Administration Orin Thomas
https://ebookultra.com/download/mcitp-self-paced-training-kit-
exam-70-647-windows-server-enterprise-administration-orin-thomas/
Microsoft Press books are available through booksellers and distributors worldwide. For further information about
international editions, contact your local Microsoft Corporation office or contact Microsoft Press International
directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to tkinput
@microsoft.com.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and
events depicted herein are fictitious. No association with any real company, organization, product, domain name,
e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided without
any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or
distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by
this book.
Exam Objectives The exam objectives listed here are current as of this book’s publication date. Exam objectives
are subject to change at any time without prior notice and at Microsoft’s sole discretion. Please visit the Microsoft
Learning Web site for the most current listing of exam objectives: http://www.microsoft.com/learning/en/us/exams
/70-237.mspx.
Contents at a Glance
Introduction xv
Index 607
Contents
Introduction xv
Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
www.microsoft.com/learning/booksurvey/
vii
Layout Panels 22
Accessing Child Elements Programmatically 31
Aligning Content 32
viii Contents
Shapes 128
Transformations 133
The Visual Tree 136
Adding to and Removing Controls from the
Visual Interface at Run Time 139
x Contents
Chapter 5 Working with User-Defined Controls 273
Lesson 1: Creating Controls in Windows Forms. . . . . . . . . . . . . . . . . . . . . . 275
Introduction to Composite Controls 275
Creating Extended Controls 282
Contents xi
Using Multi-value Converters 338
Chapter 8 Working with Data Grids and Validating User Input 407
Lesson 1: Implementing Data-bound Controls in Windows Forms. . . . . 409
Binding Controls to Data 409
Configuring DataGridView Columns 412
Adding Tables and Columns to DataGridView 413
Deleting Columns in DataGridView 413
Determining the Clicked Cell in DataGridView 414
Validating Input in the DataGridView Control 414
Format a DataGridView Control by Using Custom Painting 416
Using DataGrid in WPF Applications 417
Using DataGrid Columns 418
xii Contents
Form-Level Validation 433
Providing User Feedback 434
Implementing IDataErrorInfo in WPF Applications 436
Contents xiii
Chapter 11 Testing and Debugging WPF Applications 521
Lesson 1: Testing the User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
Using Automation Peers to Automate the User Interface 523
Using the WPF Tree Visualizer to Inspect the User Interface 527
Index 607
xiv Contents
Introduction
T his training kit is designed for developers who plan to take Microsoft Certified
Technology Specialist (MCTS) exam 70-511 as well as for developers who need to know
how to develop applications by using Microsoft .NET Framework 4. Before you begin us-
ing this kit, you must have a working knowledge of Windows and Microsoft Visual Basic or
Microsoft Visual C#. The topics in this training kit cover what you need to know for the
exam as described on the Skills Measured tab for the exam, which is available at
http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-511&locale=en-us#tab2.
By using this training kit, you’ll learn how to do the following:
■ Choose the most appropriate control class
■ Implement screen layout using nested control hierarchies
■ Create and apply styles and theming
■ Manage reusable resources
■ Implement an animation in Windows Presentation Foundation (WPF)
■ Manage routed events in WPF
■ Configure WPF commanding
■ Modify the visual interface at run time
■ Implement user-defined controls
■ Create and display graphics
■ Add multimedia content to an application in WPF
■ Create and apply control templates in WPF
■ Create data, event, and property triggers in WPF
■ Implement data binding
■ Implement value converters in WPF
■ Implement data validation
■ Implement and consume change notification interfaces
■ Prepare collections of data for display
■ Bind to hierarchical data
■ Implement data-bound controls
■ Create a data template in WPF
■ Integrate WinForms and WPF within an application
■ Implement asynchronous processes and threading
xv
■ Incorporate globalization and localization features
■ Implement drag and drop operations across applications
■ Implement security features of an application
■ Manage user and application settings
■ Implement dependency properties
■ Implement a WPF test strategy
■ Debug XAML by using WPF Visualizer
■ Debug WPF issues by using PresentationTraceSources
■ Configure a ClickOnce deployment
■ Create and configure a Windows Installer project
■ Configure deployment security settings
Refer to the objective mapping page in the front of this book to see where in the book
each exam objective is covered.
Hardware Requirements
You should use a computer that is not your primary workstation to do the practice exer-
cises in this book because you will make changes to the operating system and application
configuration.
To use the companion CD, you need a computer running Microsoft Windows XP with
Service Pack 3 (SP3), Windows Vista with SP2, Windows 7, Windows Server 2003 with SP2,
Windows Server 2003 R2, Windows Server 2008 with SP2, or Windows Server 2008 R2. The
computer must meet the following minimum requirements:
■ Personal computer with at least a 1-GHz 32-bit (x86) or 64-bit (x64) processor
■ At least 1 GB of RAM (x86 systems) or 2 GB of RAM (x64 systems)
■ At least a 40-GB hard disk
■ DVD-ROM drive
■ Super VGA (800 x 600) or higher resolution video adapter and monitor
■ Keyboard and Microsoft mouse or compatible pointing device
For chapter 10 you will need a computer running Windows 7 Professional, Ultimate, or
Enterprise Edition.
xvi Introduction
Software Requirements
The computer used with the companion CD-ROM should also have the following software:
■ A Web browser such as Windows Internet Explorer
■ An application that can display PDF files such as Adobe Acrobat Reader, which can be
downloaded at www.adobe.com/reader
■ Microsoft Visual Studio 2010 Professional, a trial version of which can be downloaded
at http://www.microsoft.com/visualstudio/en-us/products/2010-editions/professional
These requirements will support use of the companion CD-ROM.
Introduction xvii
NOTE IF THE CD MENU DOES NOT APPEAR
If the CD menu or the license agreement does not appear, AutoRun might be disabled
on your computer. Refer to the Readme.txt file on the CD for alternate installation
instructions.
xviii Introduction
■ Article III If you prefer to wait until the end of the test to see how you did, answer all
the questions and then click Score Test. You will see a summary of the exam objectives
you chose and the percentage of questions you got right, both overall and per objec-
tive. You can print a copy of your test, review your answers, or retake the test.
Introduction xix
MORE INFO ALL THE MICROSOFT CERTIFICATIONS
For a full list of Microsoft certifications, go to www.microsoft.com/learning/mcp/default.asp.
Stay in Touch
Let’s keep the conversation going! We’re on Twitter: http://twitter.com/MicrosoftPress
xx Introduction
Random documents with unrelated
content Scribd suggests to you:
Walter fil. Jone, A.
William Jon, A.
Geoffrey Johns, F.
David Jonys, F.
Johan Johans, H.
Robert Johnys, F.
Jonson (v. Johnson), 45.
Jordan, 18, 85.
Stephen fil. Jordan, A.
Jordan atte Mulle, M.
Jordan le Flemynge, J.
Jordanson, Jordeson, Jordison, 86.
John fil. Jordan, C.
Ralph 86, fil. Jordan, A.
Thomas Jordanson, v. p. 86.
Margery Jordanson, v. p. 86.
Joscelyn, 18.
Jocelidus fil. Joscelini, T.
Ralph Josselyn, H.
Joseph, 3.
Henry fil. Josep, A.
Adam Josep, M.
Josep le Taverner, J.
Joule, 433.
Jowetson (v. Jowett), 74.
Christopher Jewitson, Z.
Roger fil. Jouettæ, T.
Jowett, 14 n.
Jowett Barton, W 11.
Joette de Sudmarle, W 19.
Juetta fil. William, T.
Richard fil. Juette, T.
William Juet, A.
Jowl, 433.
Joy.
Adam Joye, A.
William Joye, M.
Joyagain, 102.
Joyce
(1), 71.
Joyce Faukes, H.
Joyce Tibetot, H.
Joice Frankline, W 9.
(2), 463, 471.
Richard le Joyce, J.
Joymaiden, 472.
Geoffrey Joyemaiden, A.
Judd, Judkins, 86.
Aron Judde, A.
Judge, 179.
Judson, 86.
William Judson, Z.
James Jurdeson, S S.
Jugg.
Jugg Byron, v. p. 49.
Juggour, 313.
Richard le Juggour, M.
Juggler, 313.
Thomas Joculator, M.
Julia, Juliana, 19, 73.
Emma fil. Juliana, A.
Juliana Loveday, J.
Juliet (v. Jowett), 74.
Julita uxor Widonis, C C.
June (v. Jeune), 432.
Stephen le Juvene, A.
William le June, R.
Junior, 429.
John le Junior, F F.
Egidius Junior, C.
Jurdan (v. Jordan), 86.
Roger fil. Jurdan, A.
Thomas Jurdan, F F.
Jury (v. Jewry), 166.
Juster, 305.
Thomas le Justere, T.
Robert le Justure, F.
William Jouster, Z.
Justice, 179.
William le Justice, A.
Robert le Justise, E.
Laborer.
Isabel Laberer, Z Z.
Robert Laborer, Z Z.
Labouchere (v. Butcher), 374.
Lacer, 348.
Henry le Lacer, H.
Richard le Lacer, X.
Lache, 479.
John le Lache, A.
William Lache, A.
Lacklove, 474.
Simon Lacklove, A.
Lacter, 272.
John le Lacter, M.
Lake.
William atte Lake, A.
Walter de la Lake, A.
Lallimand, 165.
Lamb, 491.
William le Lamb, A.
Richard le Lomb, A.
Lambden, Lamden, 118.
William Lambdene, A.
Lambert, 57.
Lambert fil. Thome, C.
Robert Lamberd, H.
Lambgroom, 445.
John Lambegrom, A.
Lambkin (v. Lampkin), 57.
Lambekin Taborer, P.
Lambshead, 435.
Agnes Lambesheved, A.
Lament, 103.
Lament Willard, 103.
Lameman, 440.
William Laymeman, v. p. 440.
Christiana Lameman, W 11.
Alex. Lameman, W 11.
Lamentation, 103.
Lamentation Chapman, Z.
Lammas, 62.
Richard Lammasse, A.
Thomas Lammas, F F.
Lampkin, 57.
Lambekyn fil. Eli, C.
Lamkyn Lokyr, O.
Lamprey, 497.
William Lampreye, A.
Lampson, 57.
William Lampson, Z Z.
Edward Lamson, F F.
Antony Lambeson, 57 n.
Lance, 459.
Mabil Lance, A.
Johanna Lance, A.
Land, 122.
Richard de la Lande, B.
William atte Land, M.
Landells, 168.
Lander, 122, 362.
William Landre, A.
Landman, 122.
Richard le Landman, M.
Lane, 108, 115.
Cecilia-in-the-Lane, A.
Alexander atte Lane, B.
Lane-end, 144.
Margaret atte Lane-ende, H.
Alice atte Lane-ende, X.
Laner, 319.
Bartholomew le Laner, A.
John le Laner, T.
Lang, 436.
Hamo le Lang, M.
John le Lange, L.
Langbane, 436.
Henry Langbane, W 11.
Langhorn, 461.
Benjamin Langhorne, W 11.
Langley, 150.
John de Langeleye, M.
Langley, 150.
Thomas de Langeleghe, E.
Langshaw, 117.
Henry Langshawe, X X 1.
Robert Langschawe, W 11.
Langskinner, 505.
Henry Langeskynnere, M.
Langstaff, 409.
Agnes Langstaff, G.
Langstaf, DD.
Langworthy, 134.
John Langworth, Z.
Christopher Langworthie, Z.
Lanyer, 319.
William Lannator, A.
Toke Lanarius, A.
Lapwater.
Henry Lapewater, X.
Lardiner, Lardner, 270.
Philip le Lardiner, B.
Thomas le Lardiner, M.
Hugh le Lardiner, L.
Large, 431.
William le Large, A.
Robert le Large, M.
William le Large, E.
Lark, 494.
Richard le Laverock, A.
Hamo Larke, A.
Larkins, Larrett, Larson, (v. Lawson), 56.
William Lareson, P P.
Andrew Larrett, P P.
Lascelles, 151.
Alan de Lascelle, A.
Robert de Laceles, E.
Lashe (v. Lache), 479.
Laskie, 479.
Last, 144.
Latimer, 197.
William le Latiner, G.
Alan le Latymer, J.
Warin le Latimer, B.
Nicholas le Latimer, M.
Latner, Latoner, 284, 392.
Richard le Latonere, V 9.
Thomas le Latoner, M.
Richard Latoner, F F.
Laugh-well.
Henry Laughwell, Z.
Laund, 122.
Robert de la Laund, A.
Nicholas atte Launde, F F.
Launder, 362.
John Launder, Z.
Jeffery Lawnder, F F.
Laura.
Laureta Picot, M M.
Loreta del Platt, A A 4.
Laurence, 18.
John fil. Laurence, M.
Ester Laurence, F F.
Lavender, 362.
Alice la Lavander, A.
Lavender, 362.
Robert le Lavender, A.
Isabel la Lavendre, E.
Laverick (v. Lark), 494.
Cuthbert Lavericke, W 20.
Lawe, 127.
David atte Lawe, M.
Thurston Lawe, Z.
Lawman, 127.
Raulf Laurence, A.
William Lawrence, V 8.
Lawpage, 506.
Agnes Lawpage, W 2.
Richard Lawpege, Z.
Christopher Lawpage, F F.
Lawrence (v. Laurence), 17, 56.
Piers Lawrence, Z.
Lawson (v. Lawrence).
John fil. Lawrence, A.
Thomas fil. Launce, A.
Thomas Lauson, F.
Edward Lason, V 7.
Laycock, 15.
Josiah Laycocke, W 16.
Peter Laycocke, W 16.
Laye, 119.
Emma de Lay, A.
Bernard de Lay, A.
Layman, 119.
Elias Layman, A.
Lazarus, 431.
Lea, 119.
William de la Lea, A.
Ralph de la Leye, A.
Leach, 384.
Hugh le Leche, A.
Robert le Leche, M.
John le Leche, X.
Leachman, 384.
Leadbeater, Leadbetter, Leadbitter, 284.
Gonnilda le Ledbetere, A.
Reginald le Ledbeter, M.
Thomas Leadbeater, Z Z.
Leader, 410.
Oliver Leader, Z.
John Leder, Z Z.
Leaf, 473.
Alice le Lef, A.
Matilda le Lef, A.
Leal, 464.
Lean, 431.
Roland le Lene, A.
Richard Lene, H.
Leaper, 395.
Leapman, 395.
Least, 432.
Richard le Lest, J.
Leave-to-day, 501.
John Leve-to-day, A.
Leatherhose, Ledderhose, 457.
John Letherhose, A.
Richard Letherhose, R.
Lee, 119.
Roger de la Lee, B.
John atte Lee, M.
Leech (v. Leach), 384.
Sibil le Leche, F F.
Leeder (v. Leader), 410.
John Leeder, F F.
Lees, 119.
Roger de Lees, A.
William de Leghes, J.
Avelina de Leys, J.
Legate.
Geoffrey le Legat, A.
Nicholas Legat, M.
Legge, 437, 168.
John de Leg, A.
Philip de Leg, J.
Legh, 119.
Pagan a la Legh, A.
Adam de la Legh, J.
Leghman, 119.
Henry Legeman, A.
Leigh, 119.
William de la Leigh, M.
William de Leigh, F F.
Leighman.
Henry Legeman, A.
Leman, Lemman, Lemon, 477.
Eldred Leman, A.
John Leman, M.
Thomas Lemon, V 5.
Lenebaud (v. Baud),
Thomas Lenebaud, A.
William Lenebaud, E.
Lenedame, 433.
Matilda Lenedame, A.
Leopard, 488.
John Lepard, H.
Leper, Lepper, 193, 431.
Nicholas le Lepere, M.
Walter le Lepere, A.
Geoffrey le Lepere, A.
Lessoner, 198.
Nicholas le Lessoner, A.
Letitia (v. Lettice), 19, 71.
Leticia Palmere, A.
Letson, 71.
John fil. Lettice, A.
John Lettesone, M.
Lettice, 71.
Warin Letice, A.
Letice de Uggele, X.
Lettice Leicester, Z.
John Lettice, P P.
Letts (v. Letson), 71.
Lewd, 481.
Robert le Lewed, M.
William le Lewed, M.
Lewis, Lewison, Lewson,
John Lewis, V 11.
Lewes Robson, W 16.
James Lewsone, V 11.
James Lusone, V 11.
John Lewson, V 10.
Liar, 480.
Henry le Liere, A.
Liberty (v. Leadbeater), 284.
Lickpeny, 483.
Lidbitter (v. Leadbeater), 284.
Lidgate, 130.
Thomas de Lidgate, M.
Walter atte Lideyate, H.
Light, 431.
Thomas le Leht, A.
William le Light, M.
Lightfoot, 439.
Robert Lightfot, M.
Thomas Lightfot, G.
Lightharness, 501.
John Lightharness, W 13.
Thomas Lightharness, W 13.
Light-red, 448.
Ralph Light-red, M.
Light-white, 448.
John Lite-whyte, M.
Likelove, 474.
Lilter, 440.
Roger le Liltere, A.
Lilywhite, 442.
Elizabeth Lilywhite, W 11.
Limebear, Limebeer, 250.
Limer, 250.
John le Limer, A.
Limethwaite, 121.
Limewright, 277, 250.
Hugh le Limwryte, A.
Limmer, 406.
Limner, 406.
Ralph Illuminator, A.
Thomas Liminer, A.
Godfrey le Lomynour, T.
William le Lomner, E.
Lina, 72.
Lyna le Archer, A.
Lena Aylmen, R R 1.
Lind, 128.
Henry de la Lynde, B.
Robert ate Lynde, M.
Lindley, 119, 128.
Lindraper, 328.
Wymund le Lyngedraper, A.
William le Lyndraper, G.
Elias le Lyndraper, M.
Lindsey, 169.
Liner, 328.
Gilbert le Lyner, A.
Michael le Linere, A.
Linger, 208.
Robert le Lingure, A.
Linnet, Linota, 72.
Linota ate Feld, A.
Linota Vidua, A.
Lion, 488.
Richard Lion, V 2.
Lipscombe, 125.
Lister, 322.
Nicholas le Lystere, G.
Andrew le Litster, M.
Hugh le Litster, R.
Little, 431.
William le Letle, A.
Robert le Litele, M.
Littlebond.
William Lutebonde, A.
Littleboy.
John Littleboye, Z.
George Littleboy, C C 3.
Littlecope.
John Littlecope, A.
Littlehair, 453.
John Lytlehare, F F.
Simon Lytehare, M.
Littlejohn, 46, 503.
Richard fil. Parvi-Johannis, A.
Littleking, 176 n., 505.
William Litelking, A.
Littlepage, 215, 506.
Littleproud, 462.
John Littleproud, F F.
Reginald Littleprowe, F F.
Littler, 432.
Ranulph Lyttylore, X X 1.
Richard Lytteler, Z.
Littlesire, 506.
Hugh Litilsir, W 8.
Littleskill.
Thomas Litilskill, P.
Littleson, 506.
Ralph Littulsone, R.
Littleswain, 505.
Philip Litsweyn, A.
Liverpool, 147.
Richard de Lyverpole, M.
Livewell, 104.
Live-well Sherwood, 104 n.
Locke, 450.
Nicol Locke, A.
Locker (v. Lockyer), 282.
Lockman, 282.
John Lockman, H H.
Locksmith, 282.
John Locksmith, W 2.
Robert Locsmyth, A.
William Loksmyth, M.
Lockyer, 282.
Henry le Lokier, A.
John Lokare, A.
Locock, 95.
Loder, 410.
Emma le Lodere, A.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookultra.com