You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a custom control that is used to display customer Information.
You discover that the custom control is not rendering correctly.
You need to identify the WPF element that is causing the issue.
What should you do?
A. Start the application in release mode. Place a breakpoint at the main entry point of the application. Use the debugger to step through the application code.You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from List
You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemSource property of dgQualifiedLeads to Leads as follows. (Line numbers are included for reference only.)

You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue of more than $1,000. What should you do?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application.
You create an icon file named Application.ico.
You need to associate Application.ico with MyApp.exe when MyApp.exe is deployed.
What should you do?
A. Use the File Types Editor tool.You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You want to add an audio player that plays .wav or .mp3 files when the user clicks a button. You plan to store the name of the file to a variable named SoundFilePath.
You need to ensure that when a user clicks the button, the file provided by SoundFilePath plays.
What should you do?
A. Write the following code segment in the button onclick event. System.Media.SoundPlayer player = new System.Media.SoundPlayer(SoundFilePath); player.Play() ;You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application includes a function that is triggered by filling out a form and by clicking a button. Currently, the application is tested manually. You need to create an automated and iterative process to test the application.
What should you do?
A. Use IntelliTrace.You are developing a Windows Presentation Foundation (WPF) application. The application consists of:

A window that contains controls organized into groups.

Groups that are ordered vertically and that have individual headings.

Controls within the groups that are ordered horizontally.

Groups and controls that will be added dynamically at run time.
You need to ensure that the application meets the following requirements:

The window must be resizable without affecting the layout of the controls.

The controls within the groups must be laid out such that there is a minimum amount of spacing between groups.
What should you do?
A. Use a WrapPanel control to organize the groups with its Orientation property set to Vertical. Use WrapPanel controls to organize the controls with their Orientation property set to Horizontal.You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains an ObservableCollection object named Pictures that contains several Picture objects. Each Picture object
contains the Name and PictureFilePath properties.
You add a ListBox control to the application.
You need to ensure that the pictures are displayed in the ListBox control.
Which code fragment should you use?
A. Template>You develop a Windows Presentation Foundation (WPF) application. This application is used to output data trends to customer service representatives. You use threading to keep the UI responsive. You have a function named UpdateUI that updates all of the UI components.
You use the following code to update the _Data variable. (Line numbers included for reference only.)

You need to update the user interface without knowing if you are on the UI thread.
Which code segment should you insert at line 06?
A. this.Dispatcher.VerifyAccess(); var function = new Action(UpdateUI); this. Dispatcher.BecginInvoke{function, null);You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled.
The application requires access to environment variables on each computer.
You need to ensure that users who do not have administrative permissions can install the application.
Which deployment method should you use?
A. Start from Web.You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. (Line numbers are included for reference only.)

You add the following code fragment within a WPF window control.

The TextBox control is data-bound to an instance of the Contact class.
You need to ensure that the Contact class contains a business rule to ensure that the ContactName property is not empty or NULL. You also need to ensure that the TextBox control validates the input data.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two).
A. Option ANowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-511 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.