แก้ไข

แชร์ผ่าน


HtmlControlDesigner.OnBindingsCollectionChanged(String) Method

Definition

Caution

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

Provides a method that can be used to indicate when a data binding has changed.

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)

Parameters

propName
String

The name of the property that has changed.

Attributes

Remarks

The OnBindingsCollectionChanged method should be called by a control designer after the control designer has made a change to the data bindings for the control.

Note

The OnBindingsCollectionChanged method is obsolete. Use the Changed event on the DataBindings collection for equivalent control designer functionality.

Notes to Inheritors

The OnBindingsCollectionChanged(String) method can be overridden and implemented to perform additional processing when the data bindings collection for the control has changed.

Applies to

See also