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 方法。
Note
這種 OnBindingsCollectionChanged 方法已經過時了。 在集合中使用 Changed 事件 DataBindings ,以獲得相當的控制設計功能。
給繼承者的注意事項
OnBindingsCollectionChanged(String)當控制項的資料綁定收集發生變化時,此方法可被覆寫並實作以執行額外處理。