HtmlControlDesigner.OnBindingsCollectionChanged(String) 方法

定义

注意

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)当控件的数据绑定集合发生更改时,可以重写和实现该方法以执行其他处理。

适用于

另请参阅