Skip to main content
A newer version of this page is available. .
Tab

DialogViewModelBase.SetEditorTypeFor<TViewModel, TField>(Expression<Func<TViewModel, TField>>, DialogFieldEditorType) Method

Specifies an editor type.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public void SetEditorTypeFor<TViewModel, TField>(
    Expression<Func<TViewModel, TField>> getter,
    DialogFieldEditorType editorType
)

Parameters

Name Type Description
getter Expression<Func<TViewModel, TField>>

An expression.

editorType DevExpress.Web.DialogFieldEditorType

An enumeration values.

Type Parameters

Name
TViewModel
TField
See Also