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: | Jul 17, 2026 |
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.
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).
You are developing a Windows Presentation Foundation (WPF) application.
A UserControl named usercontroll contains the following controls.
<StackPane1>
<Label Name="Label1" Content="Hello Exam!!!" />
</StackPanel>
You need to ensure that the content of the label displays "New Content!!!" programmatically from the code-behind of the application window that contains the UserControl.
Which code segment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You create a custom control named Wheel.
You need to ensure that the Speed property of Wheel can be animated.
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. (Line numbers are included for reference only.)
You need to ensure that both Button controls display the "Save" text.
Which code fragment should you insert at line 06?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a
Windows Presentation Foundation (WPF) application.
The application contains a ListBox control named IbxItems that is data-bound to a
collection of objects. Each object has a DisplayValue property.
You add a Button control to the application.
You need to ensure that the Content property of the Button control is data-bound to the
DisplayValue property of the selected item of IbxItems.
Which binding expression should you use?