Skip to main content
.NET 6.0+

GridListEditor.CreateCustomFilterEditorRepositoryItem Event

Occurs when creating a Filter Editor for the current Grid List Editor.

Namespace: DevExpress.ExpressApp.Win.Editors

Assembly: DevExpress.ExpressApp.Win.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Win

Declaration

public event EventHandler<CreateCustomRepositoryItemEventArgs> CreateCustomFilterEditorRepositoryItem

Event Data

The CreateCustomFilterEditorRepositoryItem event's data class is DevExpress.XtraEditors.Filtering.CreateCustomRepositoryItemEventArgs.

Remarks

CreateCustomFilterEditorRepositoryItem

As you can see in the image above, to create a filter, an end-user should select a column, operator and a value. To provide possible values for the selected column, a repository item is created. You can create a custom repository item for a particular column. For instance, you can create a custom repository item that shows possible values for a particular string type column. For this purpose, subscribe to the CreateCustomFilterEditorRepositoryItem event and use the event handler’s CreateCustomRepositoryItemEventArgs.Column and CreateCustomRepositoryItemEventArgs.RepositoryItem parameters.

For details on repository items, refer to the RepositoryItem topic.

By default, a repository item that represents the selected column in the current Grid List Editor’s GridView is set.

See Also