Skip to main content

ViewFilter.Changed Event

Occurs when the current collection has been changed.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public event EventHandler Changed

Event Data

The Changed event's data class is EventArgs.

Remarks

The Changed event is fired as a result of the current collection having been changed. A View subscribes to this event to receive notifications that filter criteria have been updated. When this event is fired, the View filters data using the modified filter criteria.

The Changed event is fired each time new filter criteria are added to or removed from the collection. To prevent excessive Changed calls and therefore excessive updates to the view, the batch modifications can be used. To perform batch modifications, enclose the code that updates the collection between the ViewFilter.BeginUpdate and ViewFilter.EndUpdate method calls. In this case, the Changed event will be fired and the View will be updated only once (after the ViewFilter.EndUpdate method is called).

See Also