题目内容

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. The number of items of the data-bound collection is fixed. However, users can modify the properties of each of the Product objects in the collection. You need to ensure that changes made on the Product objects are automatically reflected in the ListBox control. What should you do?()

A. Implement the INotifyPropertyChanged interface in the Product class.
B. Implement the INotifyCollectionChanged interface in the ProductList class.
C. Set the Mode property of the Binding object of the ListBox control to TwoWay.
D. Set the UpdateSourceTrigger property of the Binding object of the ListBox control to PropertyChanged.

查看答案
更多问题

为什么说施拉姆是传播学的完善者?

一线业务凭证按照用途分为()。

A. 存款类
B. 贷款类
C. 结算类

违反边防出入境管理的行为在6个月内没有被公安机关发现的,不再给予行政处罚。

A. 正确
B. 错误

有关健康教育的概念,下列哪项有误()

A. 是帮助人们提高健康保健意识,改变行为的最佳手段
B. 消除或减轻影响健康的危险因素
C. 以目标人群为主的卫生知识传播
D. 是有计划、有组织、有系统的教育活动

答案查题题库