ExtensionsFactory<ModelType>.ButtonEditFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<ButtonEditSettings>) Method
Creates a ButtonEdit.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public ButtonEditExtension ButtonEditFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<ButtonEditSettings> method
)
Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<ModelType, ValueType>> | An expression that identifies the object that contains the properties to display. |
method | Action<ButtonEditSettings> | A delegate method that accepts ButtonEditSettings as a parameter. |
Type Parameters
Name |
---|
ValueType |
Returns
Type | Description |
---|---|
ButtonEditExtension | A ButtonEditExtension object implementing the ButtonEdit functionality. |
See Also