HtmlControlDesigner.OnBindingsCollectionChanged(String) Metod

Definition

Varning

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

Tillhandahåller en metod som kan användas för att ange när en databindning har ändrats.

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)

Parametrar

propName
String

Namnet på den egenskap som har ändrats.

Attribut

Kommentarer

Metoden OnBindingsCollectionChanged ska anropas av en kontrolldesigner när kontrolldesignern har ändrat databindningarna för kontrollen.

Note

Metoden OnBindingsCollectionChanged är föråldrad. Changed Använd händelsen i samlingen DataBindings för motsvarande kontrolldesignerfunktioner.

Anteckningar till arvingar

Metoden OnBindingsCollectionChanged(String) kan åsidosättas och implementeras för att utföra ytterligare bearbetning när insamlingen av databindningar för kontrollen har ändrats.

Gäller för

Se även