BindingList<'T>.RaiseListChangedEvents Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

member RaiseListChangedEvents : bool with get, set

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
Show: