Skip to main content

ExtensionsFactory<ModelType>.TimeEditFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<TimeEditSettings>) Method

Creates a TimeEdit.

Namespace: DevExpress.Web.Mvc.UI

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public TimeEditExtension TimeEditFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression,
    Action<TimeEditSettings> method
)

Parameters

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

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

method Action<TimeEditSettings>

A delegate method that accepts TimeEditSettings as a parameter.

Type Parameters

Name
ValueType

Returns

Type Description
TimeEditExtension

A TimeEditExtension object implementing the TimeEdit functionality.

See Also