Getting Ready for Silverlight Exam Preview

download Getting Ready for Silverlight Exam Preview

of 17

Transcript of Getting Ready for Silverlight Exam Preview

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    1/17

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    2/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 2

    Copyrighted Material

    Getting Ready for Microsoft

    Silverlight Exam 70-506

    Author: Gill Cleeren

    July 2011

    Published by SilverlightShow

    All articles included in this ebook are copy right of their

    respective authors, and are used with permission.

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    3/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 3

    Table of Contents

    Introduction ...................................................................................................................................................................

    Goal and approach to getting ready..........................................................................................................................

    Chapter 1: Laying Out a User Interface .........................................................................................................................

    Arrange content with panels .....................................................................................................................................

    Layout in general ...................................................................................................................................................

    The Grid .................................................................................................................................................................

    Using Silverlight Grid Control ................................................................................................................................

    The StackPanel ......................................................................................................................................................The Canvas .............................................................................................................................................................

    The Border .............................................................................................................................................................

    The ScrollViewer ....................................................................................................................................................

    The ViewBox ..........................................................................................................................................................

    Implement and configure core controls ....................................................................................................................

    The TextBox (inherits from System.Windows.Controls.Control) ..........................................................................

    The Button .............................................................................................................................................................

    The TextBlock ........................................................................................................................................................

    The CheckBox ........................................................................................................................................................

    Content controls ....................................................................................................................................................

    Referencing namespaces .......................................................................................................................................

    Create user controls ..................................................................................................................................................

    UserControl ...........................................................................................................................................................

    Control parts ..........................................................................................................................................................

    Implement a navigation framework ..........................................................................................................................

    The Navigation framework ....................................................................................................................................

    Display collections of items .......................................................................................................................................

    The ItemsControl ...................................................................................................................................................

    The ListBox.............................................................................................................................................................

    The ComboBox ......................................................................................................................................................

    The TreeView .........................................................................................................................................................

    The DataGrid .........................................................................................................................................................

    Playing media files .....................................................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846463http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846464http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846465http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846466http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846467http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846468http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846469http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846470http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846471http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846472http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846473http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846474http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846475http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846476http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846477http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846478http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846479http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846480http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846481http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846482http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846483http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846484http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846485http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846486http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846487http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846488http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846489http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846490http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846491http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846492http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846493http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846493http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846492http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846491http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846490http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846489http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846488http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846487http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846486http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846485http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846484http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846483http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846482http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846481http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846480http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846479http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846478http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846477http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846476http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846475http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846474http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846473http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846472http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846471http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846470http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846469http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846468http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846467http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846466http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846465http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846464http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846463
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    4/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 4

    The MediaElement ................................................................................................................................................

    DRM in Silverlight ..................................................................................................................................................

    Streaming content .................................................................................................................................................

    Playing multiple audio tracks ................................................................................................................................

    Timeline marker events .........................................................................................................................................

    Playback events .....................................................................................................................................................

    Chapter 2: Enhancing the User Interface ......................................................................................................................

    Enhancing the User Interface ....................................................................................................................................

    Setting a style locally / setting a style at the page control level / setting a style globally ....................................

    Implicit styles .........................................................................................................................................................

    Based-on (inheriting) styles ...................................................................................................................................

    Merged Dictionaries ..............................................................................................................................................

    Create control templates ..........................................................................................................................................

    Creating a template / attaching a template ..........................................................................................................

    Implementing a content placeholder ....................................................................................................................

    Implementing template binding ............................................................................................................................

    Create or modify data templates ..............................................................................................................................

    Modifying item templates for data controls .........................................................................................................

    Creating a create template / Creating an update template ..................................................................................

    Using a user control as a data template ................................................................................................................

    Manipulate visuals .....................................................................................................................................................

    RenderTransformOrigin .........................................................................................................................................

    SkewTransform ......................................................................................................................................................

    RotateTransform ...................................................................................................................................................

    ScaleTransform ......................................................................................................................................................

    TranslateTransform ...............................................................................................................................................

    CompositeTransform .............................................................................................................................................

    Perspective transform ...........................................................................................................................................

    Applying pixel shaders ...........................................................................................................................................

    Creating storyboards .............................................................................................................................................

    Animation types ....................................................................................................................................................

    Programmatically starting and stopping storyboards ...........................................................................................

    Implementing easing functions .............................................................................................................................

    Using keyframes ....................................................................................................................................................

    Triggering storyboard on load ...............................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846494http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846495http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846496http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846497http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846498http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846499http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846500http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846501http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846502http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846503http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846504http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846505http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846506http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846507http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846508http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846509http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846510http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846511http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846512http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846513http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846514http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846515http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846516http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846517http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846518http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846519http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846520http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846521http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846522http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846524http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846525http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846526http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846527http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846528http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846529http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846529http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846528http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846527http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846526http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846525http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846524http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846522http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846521http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846520http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846519http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846518http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846517http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846516http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846515http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846514http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846513http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846512http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846511http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846510http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846509http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846508http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846507http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846506http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846505http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846504http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846503http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846502http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846501http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846500http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846499http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846498http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846497http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846496http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846495http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846494
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    5/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 5

    Repeating and reversing storyboards ...................................................................................................................

    Responding to events ............................................................................................................................................

    Configuring bitmap caching ...................................................................................................................................

    Implement behaviors ................................................................................................................................................

    Behaviors ...............................................................................................................................................................

    Triggering storyboards by using behaviors ...........................................................................................................

    Dragging and dropping elements ..........................................................................................................................

    Managing Visual State ...............................................................................................................................................

    Visual State Manager ............................................................................................................................................

    Creating state groups ............................................................................................................................................

    Transitioning states ...............................................................................................................................................

    Programmatically changing states ........................................................................................................................

    Chapter 3: Implementing Application Logic ..................................................................................................................

    Handle events ............................................................................................................................................................

    Handling routed events / Bubbling events ............................................................................................................

    Implementing AddHandler ....................................................................................................................................

    Consume services asynchronously ............................................................................................................................

    Creating and adding service references / Handling asynchronous completed events .........................................

    Configuring service endpoints ...............................................................................................................................

    Handling service exceptions ..................................................................................................................................

    Work with background threads .................................................................................................................................

    Spawning a background thread to execute code ..................................................................................................

    Returning data to the UI thread by using the dispatcher object ..........................................................................

    Implementing the DispatcherTimer ......................................................................................................................

    Working with Dependency Properties ......................................................................................................................

    Creating dependency properties / Specifying dependency property metadata / Getting and setting

    dependency property values .................................................................................................................................

    Demystifying Silverlight Dependency Properties ..................................................................................................

    Interacting with attached properties ........................................................................................................................

    Setting attached properties in XAML ....................................................................................................................

    Getting and setting attached properties programmatically .................................................................................

    Implementing ICommand ..........................................................................................................................................

    General implementation of ICommand ................................................................................................................

    Implementing an ICommand .................................................................................................................................

    Binding to an ICommand .......................................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846530http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846531http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846532http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846533http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846534http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846535http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846536http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846537http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846538http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846539http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846540http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846541http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846542http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846543http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846544http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846545http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846546http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846547http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846548http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846549http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846550http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846551http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846552http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846553http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846554http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846555http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846555http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846556http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846557http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846558http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846559http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846560http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846561http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846562http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846563http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846563http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846562http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846561http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846560http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846559http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846558http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846557http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846556http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846555http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846555http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846554http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846553http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846552http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846551http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846550http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846549http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846548http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846547http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846546http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846545http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846544http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846543http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846542http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846541http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846540http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846539http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846538http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846537http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846536http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846535http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846534http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846533http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846532http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846531http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846530
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    6/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 6

    Passing a parameter ..............................................................................................................................................

    Chapter 4: Working with Data .......................................................................................................................................

    Implementing data binding .......................................................................................................................................

    Setting the data context ........................................................................................................................................

    Binding data sets to controls .................................................................................................................................

    Binding elements to other elements .....................................................................................................................

    Implementing INotifyPropertyChanged ................................................................................................................

    Implementing ObservableCollection .....................................................................................................................

    Setting binding modes ...........................................................................................................................................

    Setting a fallback value ..........................................................................................................................................

    Formatting data .........................................................................................................................................................

    Formatting string values in data binding ...............................................................................................................

    Formatting culture-specific string values ..............................................................................................................

    Value Converters .......................................................................................................................................................

    Creating a value converter / Referencing a value converter ................................................................................

    Passing parameters ...............................................................................................................................................

    Implementing data validation ...................................................................................................................................

    Implementing the IDataErrorInfo interface ..........................................................................................................

    Implementing the INotifyDataErrorInfo interface ................................................................................................

    Implementing data binding errors ........................................................................................................................

    NotifyOnValidationError ........................................................................................................................................

    ValidatesOnExceptions ..........................................................................................................................................

    ValidatesOnDataErrors ..........................................................................................................................................

    ValidatesOnNotifyDataErrors ................................................................................................................................

    Chapter 5: Interacting with the host platform ..............................................................................................................

    Implement the printing API .......................................................................................................................................

    General Printing in Silverlight ................................................................................................................................

    Handling multiple pages ........................................................................................................................................

    Create out-of-browser applications ..........................................................................................................................

    Enabling trusted applications / Installing and uninstalling applications ...............................................................

    Silverlight Elevated Permissions ............................................................................................................................

    Setting the application to be chromeless ..............................................................................................................

    Signing the XAP file ................................................................................................................................................

    Working with COM Interop ...................................................................................................................................

    Checking for network connectivity ........................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846564http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846565http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846566http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846567http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846568http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846569http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846570http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846571http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846572http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846573http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846574http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846575http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846576http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846577http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846578http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846579http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846580http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846581http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846582http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846583http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846584http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846585http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846586http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846587http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846588http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846589http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846590http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846591http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846592http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846593http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846594http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846594http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846595http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846596http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846597http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846598http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846598http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846597http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846596http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846595http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846594http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846593http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846592http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846591http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846590http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846589http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846588http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846587http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846586http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846585http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846584http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846583http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846582http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846581http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846580http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846579http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846578http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846577http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846576http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846575http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846574http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846573http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846572http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846571http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846570http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846569http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846568http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846567http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846566http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846565http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846564
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    7/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 7

    Displaying toast notifications ................................................................................................................................

    Checking and updating application versions .........................................................................................................

    Displaying HTML content by using the web browser control ...............................................................................

    Isolated storage .........................................................................................................................................................

    Reading from and writing to isolated storage .......................................................................................................

    Increasing storage size ..........................................................................................................................................

    Interact with the HTML DOM ....................................................................................................................................

    Accessing cookies and QueryString values/ header info .......................................................................................

    Calling into JavaScript from Silverlight ..................................................................................................................

    Calling into Silverlight from JavaScript ..................................................................................................................

    Silverlight-to-Silverlight communication ...............................................................................................................

    Manipulating the DOM ..........................................................................................................................................

    Accessing the clipboard .........................................................................................................................................

    Read from and write to the host file system .............................................................................................................

    Read from and write to various locations .............................................................................................................

    Drag and drop from the file system ......................................................................................................................

    Using IO dialogs OpenFileDialog .........................................................................................................................

    Handle alternative input methods ............................................................................................................................

    Handling right-click ................................................................................................................................................

    Mouse wheel .........................................................................................................................................................

    Multi-touch events ................................................................................................................................................

    Chapter 6: Structuring Applications ..............................................................................................................................

    Create and consume resource dictionaries ...............................................................................................................

    Utilizing sample data .............................................................................................................................................

    Creating sample data .............................................................................................................................................

    Selecting resources ................................................................................................................................................

    Merging resource dictionaries ..............................................................................................................................

    Implement localization and globalization .................................................................................................................

    Translating strings .................................................................................................................................................

    Configuring right-to-left language support and FlowDirection .............................................................................

    Handle application-level events ............................................................................................................................

    Chapter 7: Deploying Applications ................................................................................................................................

    Configure the Silverlight plug-in ................................................................................................................................

    Passing initialization parameters ...........................................................................................................................

    Configuring windowless mode ..............................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846599http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846600http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846601http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846602http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846603http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846604http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846605http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846606http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846607http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846608http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846609http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846610http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846611http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846612http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846613http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846614http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846615http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846615http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846615http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846616http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846617http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846618http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846619http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846620http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846621http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846622http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846623http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846624http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846625http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846626http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846627http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846628http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846629http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846630http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846631http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846632http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846633http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846633http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846632http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846631http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846630http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846629http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846628http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846627http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846626http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846625http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846624http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846623http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846622http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846621http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846620http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846619http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846618http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846617http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846616http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846615http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846614http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846613http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846612http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846611http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846610http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846609http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846608http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846607http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846606http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846605http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846604http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846603http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846602http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846601http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846600http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846599
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    8/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 8

    Background color, Sizing of plugins, setting the frame rate .................................................................................

    Incorporating nonstandard splash screens ...........................................................................................................

    Enabling GPU acceleration ....................................................................................................................................

    Dynamically load application resources ....................................................................................................................

    Downloading a zip file and extracting content from a zip file ...............................................................................

    Enabling assembly caching ....................................................................................................................................

    Create a client access policy ..................................................................................................................................

    Summary .......................................................................................................................................................................

    Global Summary ............................................................................................................................................................

    About the Author ..........................................................................................................................................................

    http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846634http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846635http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846636http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846637http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846638http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846639http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846640http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846641http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846642http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846643http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846643http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846642http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846641http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846640http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846639http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846638http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846637http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846636http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846635http://c/Users/rgeorgieva/Downloads/TOC_Silverlight_Exam%20(1).doc%23_Toc298846634
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    9/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 9

    Introduction

    Silverlight is a rapidly evolving technology. Over a time span of 3 years, it has evolved from being a JavaScript-

    based platform to a full .NET implementation. With 4 versions released and version 5 in the pipeline at the time

    of writing, Silverlight has more versions than .NET! That makes it hard for book writers such as me to keep upwith new features being added.

    It seems to me that its also difficult to create and manage exams about Silverlight. For the previous versions of

    Silverlight, there werent any exams available. Silverlight 4 is the first version of which an exam is being created. It

    was possible to take the beta-exam late 2010; the exam will be officially open in Q1 2011. More information

    about the exam can be found here:

    http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us

    With this guide, I aim to make the preparation for the exam a bit easier.

    Goal and approach to getting ready

    At this point, theres no official courseware available to study for the exam. In any case, you should therefore be

    familiar already with Silverlight development. Reading some books on Silverlight will help as well. The list below

    contains some links to books available for Silverlight 4:

    Silverlight 4 Unleashed Silverlight 4 In Action Microsoft Silverlight 4 Data and Services Cookbook Pro Business Application with Silverlight 4

    On top of that, reading articles and blog posts will help you in passing the exam. In this ebook, I try to create an

    extensive list of resources along with some explanation on the topic at hand that contain the information you

    need to know. To structure this, well follow the list of topics described by Microsoft on the exam outline page

    (http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us#tab2):

    Laying Out a User Interface (15%) Enhancing the User Interface (14%) Implementing Application Logic (16%) Working with Data (17%) Interacting with a Host Platform (11%) Structuring Applications (13%) Deploying Applications (13%)

    (Small note: the outlined percentages total 99%, so youll probably get 1% for entering your name!)

    This ebook is based on SilverlightShow 7-part article seriesGetting ready for Microsoft Silverlight Exam 70-506.

    While the online article series give references to external resources, here we have done our best to include those

    resources as full text, so you may enjoy the ebook while travelling, at places with no connection, on your desktop,

    etc. For each topic the author Gill Cleeren has picked the resource that best covers the material needed.

    Approximately 85% of the resources selected are available in full, the rest of the resources are still included as

    links due to lack of copy permissions or inability to reach the the respective authors.

    We hope you will enjoy this ebook, and wish you good luck with taking the exam!

    http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-ushttp://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-ushttp://www.silverlightshow.net/book/Silverlight-4-Unleashed.aspxhttp://www.silverlightshow.net/book/Silverlight-4-Unleashed.aspxhttp://www.silverlightshow.net/book/Silverlight-4-in-Action.aspxhttp://www.silverlightshow.net/book/Silverlight-4-in-Action.aspxhttp://www.silverlightshow.net/book/Microsoft-Silverlight-4-Data-and-Services-Cookbook.aspxhttp://www.silverlightshow.net/book/Microsoft-Silverlight-4-Data-and-Services-Cookbook.aspxhttp://www.silverlightshow.net/book/Pro-Business-Applications-with-Silverlight-3.aspxhttp://www.silverlightshow.net/book/Pro-Business-Applications-with-Silverlight-3.aspxhttp://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us#tab2http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us#tab2http://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us#tab2http://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.silverlightshow.net/items/Getting-ready-for-the-exams-Part-1.aspxhttp://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us#tab2http://www.silverlightshow.net/book/Pro-Business-Applications-with-Silverlight-3.aspxhttp://www.silverlightshow.net/book/Microsoft-Silverlight-4-Data-and-Services-Cookbook.aspxhttp://www.silverlightshow.net/book/Silverlight-4-in-Action.aspxhttp://www.silverlightshow.net/book/Silverlight-4-Unleashed.aspxhttp://www.microsoft.com/learning/en/us/Exam.aspx?ID=70-506&Locale=en-us
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    10/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 10

    Drop us a note [email protected] you got certified after reading this ebookwed be

    happy to spread the news!

    We are also encouraging you to send any feedback you have on this ebook.

    Gill Cleeren and the team at SilverlightShow.net

    [email protected]

    [email protected]

    mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    11/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 11

    Chapter 1: Laying Out a User Interface

    Arrange content with panels

    Layout is a very important aspect in Silverlight. Since Silverlight is an RIA, applications we build with it are

    intended to run on different screen resolutions. A well-built application should look fine on all these resolutions

    as well. Luckily, Silverlight has inherited layout panels from WPF, including the Canvas, the Grid and the

    StackPanel. Via theSilverlight Toolkit, other panels including the DockPanel and the WrapPanel were added. Its

    my opinion that the Grid is the most used panel for (business) applications, as it can help lining out content, while

    a Canvas will be more used for example when creating a game with moving parts or a hand -drawn custom

    control such as a gauge control. The Canvas support z-indexing as well, allowing sending its children up or down

    in the stack.

    Layout in general

    Layout controls help building the user interface of Silverlight applications. The class hierarchy for the most

    important layout controls is as follows:

    System.Object

    --System.Windows.DependencyObject

    ----System.Windows.UIElement

    ------System.Windows.FrameworkElement

    -------- System.Windows.Controls.Viewbox

    --------System.Windows.Controls.Border

    --------System.Windows.Controls.Panel----------System.Windows.Controls.Grid

    ----------System.Windows.Controls.StackPanel

    ----------System.Windows.Controls.Canvas

    --------System.Windows.Controls.Control

    ----------System.Windows.Controls.ContentControl

    ------------System.Windows.Controls.ScrollViewer

    This topic is covered in the following resource:

    Layout controls in Silverlight

    Introduction

    Layout controls are Silverlight controls which act as containers of other controls. Their main purpose is the

    positioning and arranging of their child controls. There are several layout controls: Canvas, StackPanel and Grid

    and TabPanel.

    Overview

    All layout controls derive from the basic abstract class Panel.

    http://silverlight.codeplex.com/http://silverlight.codeplex.com/http://silverlight.codeplex.com/http://silverlight.codeplex.com/
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    12/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 12

    There are also four more descendants of the Panel Class: DataGridCellsPresenter,

    DataGridColumnHeadersPresenter, DataGridDetailsPresenter, DataGridRowsPresenter. Their purpose is

    the positioning of elements in a DataGridtemplate. They are not standalone controls.

    Layout controls inherit the Children collection of type UIElementCollection. Since all elements in this

    collection are UIElement objects and the Panel itself derives from UIElement layout controls can benested in one another without limitation.

    The following example demonstrates the nesting:

    Note: to understand this example you should be familiar with all layout controls:Canvas,StackPaneland

    Grid

    We want to have the following meaningless result (I dont like giving real world examples, I just want to

    show you how nesting oflayout controls works.):

    Here is the XAML code:

    http://www.silverlightshow.net/items/Using-the-Canvas-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Canvas-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Canvas-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-StackPanel-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-StackPanel-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-StackPanel-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Grid-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Grid-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Grid-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-StackPanel-control-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Using-the-Canvas-control-in-Silverlight-2-Beta-1.aspx
  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    13/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 13

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    14/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 14

    We have a Grid, two StackPanels in the Grid and several Canvases in every StackPanel and several

    controls in every Canvas. You can put another Grid in the existing for example, or in a StackPanelor

    Canvas. It depends on the result you want to achieve.

    You saw that we put a Backgroundproperty of the two StackPanels. You can set it in the XAML as an

    attribute using one of the Colors enumeration but you also can use a Brush object for it. The following

    examples demonstrate its use with several different brushes:

    Using the ImageBrush for a GridBackground:

    XAML:

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    15/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 15

    Width="400" Height="400">

    Using the LinearGradientBrush for a StackPanelBackground:

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    16/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    SilverlightShow.net Powered by CompletIT Page | 16

    XAML:

    Using the RadialGradientBrush for a CanvasBackground:

    XAML:

  • 7/30/2019 Getting Ready for Silverlight Exam Preview

    17/17

    Getting Ready for Microsoft Silverlight Exam 70-506

    End of this sample SilverlightShow ebook!

    Enjoyed the sample?

    Buy the ebook!

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Width="400" Height="300">

    Its just amazing how you can use brushes in the XAML without writing a single line in the code behind.

    Conclusion

    This article covers the key features of the Panelclass which are inherited in all layout controls. It targets

    the developer who has just started with the Silverlightcontrols. Any comments are welcome.

    Find original article athttp://www.silverlightshow.net/items/Layout-controls-in-Silverlight-2-Beta-1.aspx

    http://www.e-junkie.com/ecom/gb.php?c=cart;i=968203;cl=173172;ejc=2http://www.e-junkie.com/ecom/gb.php?c=cart;i=968203;cl=173172;ejc=2http://www.silverlightshow.net/items/Layout-controls-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Layout-controls-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Layout-controls-in-Silverlight-2-Beta-1.aspxhttp://www.silverlightshow.net/items/Layout-controls-in-Silverlight-2-Beta-1.aspxhttp://www.e-junkie.com/ecom/gb.php?c=cart;i=968203;cl=173172;ejc=2