Skip to main content

GridColumnEditorPropertiesFactory.ButtonEdit(Action<MVCxColumnButtonEditProperties>) Method

Allows you to configure a button edit column.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void ButtonEdit(
    Action<MVCxColumnButtonEditProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnButtonEditProperties>

A delegate method that accepts an MVCxColumnButtonEditProperties object as a parameter.

Remarks

settings.Columns.Add(column => {
     column.FieldName = "Phone";
     column.Caption = "Phone Number";
     column.EditorProperties().ButtonEdit(p => {
          p.MaskSettings.Mask = "+1 (999) 000-0000";
          p.MaskSettings.IncludeLiterals = "None";
          ...
     });
});
See Also