070-511 무료 덤프문제 온라인 액세스
시험코드: | 070-511 |
시험이름: | TS: Windows Applications Development with Microsoft .NET Framework 4 |
인증사: | Microsoft |
무료 덤프 문항수: | 288 |
업로드 날짜: | 2025-08-23 |
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?
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?
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?
You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application.
You need to ensure that the history of your testing session can be rewound in the execution cycle so that the state of the application and events that occurred previously can be viewed.
What should you use?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in an ElementHos1 control named elementHost1.
You write the following code segment. (Line numbers are included for reference only.)
01 Public Class UPFInUInforms
02 Public Sub WPFInWInforms()
03 InitializeComponent() 04
05 End Sub
06 Private Sub OnBackColorChange(ByVal sender As Object, ByVal propertyName As [String], ByVal value As Object)
07 Dim host As ElementHost = TryCast(sender, ElementHost)
08 Dim col As System.Drawing.Color = DirectCast(value, System.Drawing.Color)
09 Dim brush As New SolidColorBrush(System.Windows.Media.Color.FromRgb(col,R, col.G, col.B))
10 Dim ucl As UserControll = TryCast(host.Child, UserControll)
11 ucl.Background = brush
12 End Sub
13 End Class
You need to ensure that the application changes the background color of the hosted control when the background color of the form changes.
Which code segment should you insert at line 04?