BindingSource.RaiseListChangedEvents 屬性
定義
取得或設定值,指出是否應該引發 ListChanged 事件。Gets or sets a value indicating whether ListChanged events should be raised.
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
if ListChanged events should be raised; otherwise, false
. 預設為 true
。The default is true
.
- 屬性
備註
當 RaiseListChangedEvents 屬性為時 false
,會暫停引發 ListChanged 事件。When the RaiseListChangedEvents property is false
, it suspends the raising of ListChanged events. 這個事件表示系結清單已經過某些方面的修改,包括新增、刪除、插入或修改專案。This event indicates that the bound list has been modified in some way, including adding, deleting, inserting, or modifying items.