Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewFilter.Changed Event

Occurs when the current collection has been changed.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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