You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a DataGrid named gridContacts that is data-bound to a collection of Contacts. Each item has the ContactName and Phone properties. The DataGrid contains a column named ContactNameColumn that is bound to ContactName. You write the following code fragment. You need to ensure that the application meets the following requirements: Phone number is shown as a row detail when the row is selected. Only ContactName can be edited. What should you do?()
- A、
- B、
- C、
- D、
正确答案:A
答案解析:有
微信扫一扫手机做题