Skip to main content
All docs
V24.2

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

GridCustomizeFilterRowEditorEventArgs.EditSettings Property

Returns an object that contains editor settings.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public IEditSettings EditSettings { get; }

#Property Value

Type Description
IEditSettings

An object that contains editor settings.

#Remarks

The Grid configures editor settings for individual columns based on associated data types. You can customize these settings in markup.

The EditSettings property returns the customized (if any) settings of the processed editor.

Cast an object, returned by the EditSettings property, to a particular editor’s settings interface when you need editor-specific settings.

C#
void OnCustomizeFilterRowEditor(GridCustomizeFilterRowEditorEventArgs e) {
    if(e.FieldName == "UnitPrice") {
        var spinEditSettings = e.EditSettings as ISpinEditSettings;
        spinEditSettings.Increment="0.1M";
}

You can also cast the returned object to the base interface if the editor type is unknown or you need common settings.

C#
void OnCustomizeFilterRowEditor(GridCustomizeFilterRowEditorEventArgs e) {
    var EditorSettings = e.EditSettings as ITextEditSettings;
    EditorSettings.ClearButtonDisplayMode = DataEditorClearButtonDisplayMode.Never;
}
See Also