GridColumnEditorPropertiesFactory.ButtonEdit(Action<MVCxColumnButtonEditProperties>) Method

Allows you to configure a button edit column.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void ButtonEdit(
    Action<MVCxColumnButtonEditProperties> method
)
Public Sub ButtonEdit(
    method As Action(Of MVCxColumnButtonEditProperties)
)

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