BindingList<T>::RaiseListChangedEvents Property


Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

property bool RaiseListChangedEvents {
	bool get();
	void set(bool value);

Property Value

Type: System::Boolean

true if adding or removing items raises ListChanged events; otherwise, false. The default is true.

Set the RaiseListChangedEvents property to false if you wish to suppress ListChanged events from occurring on the list.

The following code example demonstrates how use the RaiseListChangedEvents method. For the complete example, see the BindingList<T> class overview topic.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top