BindingSource.RaiseListChangedEvents 屬性

定義

取得或設定值,指出是否應該引發 ListChanged 事件。

public:
 property bool RaiseListChangedEvents { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool RaiseListChangedEvents { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.RaiseListChangedEvents : bool with get, set
Public Property RaiseListChangedEvents As Boolean

屬性值

如果應該要引發 ListChanged 事件,則為 true,否則為 false。 預設為 true

屬性

備註

RaiseListChangedEvents當 屬性為 false 時,它會暫停引發 ListChanged 事件。 這個事件表示系結清單已以某種方式修改,包括新增、刪除、插入或修改專案。

適用於

另請參閱