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