HtmlControlDesigner.OnBindingsCollectionChanged(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202
提供可用于指示数据绑定何时更改的方法。
protected:
virtual void OnBindingsCollectionChanged(System::String ^ propName);
protected virtual void OnBindingsCollectionChanged(string propName);
[System.Obsolete("The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnBindingsCollectionChanged(string propName);
abstract member OnBindingsCollectionChanged : string -> unit
override this.OnBindingsCollectionChanged : string -> unit
[<System.Obsolete("The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnBindingsCollectionChanged : string -> unit
override this.OnBindingsCollectionChanged : string -> unit
Protected Overridable Sub OnBindingsCollectionChanged (propName As String)
参数
- propName
- String
已更改的属性的名称。
- 属性
注解
控件 OnBindingsCollectionChanged 设计器对控件的数据绑定进行更改后,控件设计器应调用该方法。
注释
该方法 OnBindingsCollectionChanged 已过时。 将ChangedDataBindings集合上的事件用于等效的控件设计器功能。
继承者说明
OnBindingsCollectionChanged(String)当控件的数据绑定集合发生更改时,可以重写和实现该方法以执行其他处理。