ASPxGridListEditor.CustomHandleAutoFilterCellEditor Event
Occurs before a filter row cell is set up when the ASPxGridView.AutoFilterCellEditorCreate event is raised.
Namespace: DevExpress.ExpressApp.Web.Editors.ASPx
Assembly: DevExpress.ExpressApp.Web.v18.1.dll
Declaration
public event EventHandler<CustomHandleAutoFilterCellEditorEventArgs> CustomHandleAutoFilterCellEditor
Event Data
The CustomHandleAutoFilterCellEditor event's data class is DevExpress.ExpressApp.Web.Editors.ASPx.CustomHandleAutoFilterCellEditorEventArgs.
Remarks
Use the SourceEventArgs parameter to access the AutoFilterCellEditorCreateEventArgs object from this event handler.
By default, columns that are linked to an Enum or Boolean type property are extended:
- IModelCommonMemberViewItem.CaptionForTrue, IModelCommonMemberViewItem.CaptionForFalse, IModelCommonMemberViewItem.ImageForTrue and IModelCommonMemberViewItem.ImageForFalse values are processed and a combobox is created when there are captions or images.
- An EnumDescriptor is used when the underlying property is an enumeration and a combobox is created when there are captions or images.
The CustomHandleAutoFilterCellEditor event occurs before the default algorithm described above is executed. Set the Handled parameter to true to disable the default code.