| Exam Code/Number: | 070-511Join the discussion |
| Exam Name: | TS: Windows Applications Development with Microsoft .NET Framework 4 |
| Certification: | Microsoft |
| Question Number: | 288 |
| Publish Date: | Aug 23, 2026 |
|
Rating
100%
|
|
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a
Windows Presentation Foundation (WPF) application.
You write the following code fragment.
< TextBox Text="{Binding Path=StringMember} " / >
You need to ensure that the StringMember property of the data-bound object is updated
immediately when the user types in the TextBox control.
Which binding expression should you use?
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 are developing a Windows Presentation Foundation (WPF) application. You add several TextBox controls within a StackPanel control. You next add several Image controls within a second StackPanel control.
During testing, you discover that some of the textboxes do not appear in the proper layout.
You need to quickly search for the textboxes and view their properties to identify which ones are incorrect.
What should you do?
You are migrating a Windows Forms application to a Windows Presentation Foundation (WPF) application.
You need to create a window to display controls. The controls must be positioned by using fixed coordinates.
Which control should you use in the WPF application?
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.)
