BindingSource.RaiseListChangedEvents BindingSource.RaiseListChangedEvents BindingSource.RaiseListChangedEvents BindingSource.RaiseListChangedEvents Property

定义

获取或设置一个值,该值指示是否应引发 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; }
member this.RaiseListChangedEvents : bool with get, set
Public Property RaiseListChangedEvents As Boolean

属性值

如果应引发 ListChanged 事件,则为 true;否则为 falsetrue if ListChanged events should be raised; otherwise, false. 默认值为 trueThe default is true.

注解

当属性为false时, ListChanged它会挂起事件的引发。 RaiseListChangedEventsWhen 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.

适用于

另请参阅