Online Access Free 70-511 Practice Test
| Exam Code: | 70-511 |
| Exam Name: | TS: Windows Applications Development with Microsoft .NET Framework 4 |
| Certification Provider: | Microsoft |
| Free Question Number: | 288 |
| Posted: | May 30, 2026 |
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment.
You need to implement the MyProject.AverageConverter class. What should you do?
HOTSPOT
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.)
You are developing a Windows Presentation Foundation (WPF) application. The main window of the application is defined by the following markup.
<Grid ShoTJGridLines="True">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDeiinition />
</Grid.ColumnDef initions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RouDefinitions>
<TextBlock Grid.Row="0" HorizontalAlignment="Center">
Products Shipped</TextBlock>
<TextBlock Grid.Row="l" Grid.Column="0">
Quarter K/TextBlock>
<TextBlock Grid.Row="2" Grid.Column="0">
Quarter 2</TextBlock>
<TextBlock Grid.Row-"!" Grid.Column="l">
50000</TextBiock>
<TextBlock Grid.Row="2" Grid.Coluitin="l">
150000</TextBlock>
</Grid>
When the application is run, it appears as follows.
You need to ensure that the TextBlock control with the contents "Products Shipped" is horizontally centered on the Grid control.
Which markup segment should you add to the TextBlock control?
You 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:
<Window xmlns:properties="ctr-namespace : LocalizedApp. Properties"...
You need to ensure that the application appears in the language of each user.
What should you do?
DRAG DROP
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a window that has two buttons named Copy and Paste.
You need to ensure that the buttons have a black background color and white foreground color.
What should you do? (Develop the solution by selecting and ordering the required code snippets. You may not need all of the code snippets.)

