Skip to main content
Tab

DialogViewModelBase.SetEditorEnabledCondition<TViewModel, TField>(Expression<Func<TViewModel, TField>>, Boolean) Method

Specifies whether an editor is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void SetEditorEnabledCondition<TViewModel, TField>(
    Expression<Func<TViewModel, TField>> getter,
    bool value
)

Parameters

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

An expression that identifies the field.

value Boolean

true to enable the editor; otherwise, false.

Type Parameters

Name
TViewModel
TField
See Also