GridListEditor.CreateCustomFilterEditorRepositoryItem Event
Occurs when creating a Filter Editor for the current Grid List Editor.
Namespace: DevExpress.ExpressApp.Win.Editors
Assembly: DevExpress.ExpressApp.Win.v24.1.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
NuGet Package: DevExpress.ExpressApp.Win
Declaration
Event Data
The CreateCustomFilterEditorRepositoryItem event's data class is DevExpress.XtraEditors.Filtering.CreateCustomRepositoryItemEventArgs.
Remarks
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.