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 are developing a windows Presentation Foundation (WPF) application. A TextBlock control has DataContext bound to a static resource named Book. The ToolTip attribute of TextBlock displays the full book titles.
You create a converter named TrimTitleConverter to shorten the book titles to three words in the Text attribute of the TextBox. You add the converter to the Resources section of the MainWindow.xaml file as follows. (Line numbers are included for reference only.)

You need to ensure that the shortened book titles appear only in the Text attribute of TextBlock.
Which markup segment should you use to replace lines 06 through 09?
You are developing a Windows Presentation Foundation (WPF) application. The application contains a converter named DateOutputConverter that formats dates. The window is defined as follows. (Line numbers are included for reference only.)

The window must display the OrderDate value found in shippedOrder. The text box must display the OrderDate formatted by the DateOutputConverter. You need to ensure that the OrderDate is displayed and formatted correctly.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. insert the following code at line 10.You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application.
The application contains a DockPane1 named DockPanel1. DockPanel1 contains a ListBox named List1 and a Button named Button1.
End-users discover that when they run the application, their mouse pointer disappears when they hover over List1.
You run the application in debug mode and open the WPF Tree Visualizer.
You need to identify which property causes the issue.
Which property should you identify? (To answer, select the appropriate property in the answer area.)
Hot Area:

You are developing a Windows Presentation Foundation (WPF) application. The application has several visual controls on a main page. You need to restyle all of the UI-related elements on the main page at run time. Which class should you use to reference all these elements in a single call?
A. ContentElementYou are developing a Windows Presentation Foundation (WPF) application.
The application will be used by users in France and users in Germany.
The Window element for the main window contains the following declaration:
You need to ensure that the application appears in the language of each user. What should you do?
B. Add language entries to the appSettings section of the Machine.config file.
C. Modify the Application.Resources section of the App.xaml file.
D. Add language-specific resource files.
You are developing a Windows Presentation Foundation (WPF) application that displays pricing and inventory Information.
A list box's ItemsSource property has decimal and string types. Decimals represent price and strings represent messages such as "Discontinued"
The following markup is defined as follows. (Line numbers are included for reference only.)

You need to ensure that data templates are used to format the strings without changes and the decimals as currency.
Which markup segment should you insert at line 05?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
You create an event handler named StackPanel_PreviewTextInput. You also have a collection of strings named Keywords.
You need to ensure that TxtBoxA and TxtBoxB do not contain any of the strings in the Keywords collections.
Which code segment should you use?
A. Private Sub StackPanel_PreviewTextInput(sender As Ctoject, e As TextCompositionEventArgs) Dim feSource As FrameworkElement = TryCast(sender, FrameworkElement) If feSource.Name - "TxtBoxA" OrElse feSource.Name - "TxtBoxB" Then For Each keyword As String In Keywords If e.Text.Contains(keyword) ThenYou are developing a Windows Presentation Foundation (WPF) application page.
The controls on the page must be enclosed within a single rectangular border. The border must contain an image in the header.
You need to select a control to use as a container. Which control should you select?
A. BorderYou use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a custom command as a resource. The key of the command is saveCommand. You write the following code fragment. (Line numbers are included for reference only.)
01
You need to ensure that saveCommand is executed when the user clicks the Button control. What should you do?
A. Insert the following code fragment at line 04.Nowadays, 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.