Share via


HtmlControlDesigner.OnBindingsCollectionChanged(String) Metoda

Definice

Upozornění

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

Poskytuje metodu, která lze použít k označení, kdy se změnila datová vazba.

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)

Parametry

propName
String

Název vlastnosti, která se změnila.

Atributy

Poznámky

Metoda OnBindingsCollectionChanged by měla být volána návrhářem ovládacího prvku poté, co návrhář ovládacího prvku provedl změnu datových vazeb pro ovládací prvek.

Poznámka

Metoda OnBindingsCollectionChanged je zastaralá. Changed Použijte událost v kolekci DataBindings pro ekvivalentní funkce návrháře ovládacích prvků.

Poznámky pro dědice

Metodu OnBindingsCollectionChanged(String) lze přepsat a implementovat, aby se provedlo další zpracování, pokud se kolekce datových vazeb pro ovládací prvek změnila.

Platí pro

Viz také