A newer version of this page is available. Switch to the current version.

ExtensionsFactory<ModelType>.SpinEditFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<SpinEditSettings>) Method

Creates a SpinEdit.

Namespace: DevExpress.Web.Mvc.UI

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public SpinEditExtension SpinEditFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<SpinEditSettings> method
)
Public Function SpinEditFor(Of ValueType)(
    expression As Expression(Of Func(Of ModelType, ValueType)),
    method As Action(Of SpinEditSettings)
) As SpinEditExtension

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to display.

method Action<SpinEditSettings>

A delegate method that accepts SpinEditSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
SpinEditExtension

A SpinEditExtension object implementing the SpinEdit functionality.

See Also