black

MCPD(70-511)

登录

单项选择题

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
ElementHost control named elementHost1. 
You write the following code segment. (Line numbers are included for reference only.)

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 05?()

A.
B.
C.
D.

相关考题

单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use an existing Windows Forms control named MyWinFormControl in the MyControls assembly. You need to ensure that the control can be used in your application. What should you do?()

单项选择题 You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit. You plan to add a DataGridView to display the dataset. You need to ensure that the DataGridView meets the following requirements: Shows Order Details for the selected order. Shows only Order Details for items that have UnitPrice greater than 20. Sorts Products by ProductName . Which code segment should you use? ()

单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code segment. The TextBox control is data-bound to an instance of the Contact class. You plan to implement an ErrorTemplate in the TextBox control. You need to ensure that the validation error message is displayed next to the TextBox control. Which code fragment should you use?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064