Skip to main content
Tab

DialogViewModelBase.SetEditorEnabledCondition<TViewModel, TRelatedField>(String, Expression<Func<TViewModel, TRelatedField>>, TRelatedField) 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, TRelatedField>(
    string getter,
    Expression<Func<TViewModel, TRelatedField>> relatedFieldGetter,
    TRelatedField value
)

Parameters

Name Type Description
getter String

The field ID.

relatedFieldGetter Expression<Func<TViewModel, TRelatedField>>

An expression that identifies the related field.

value TRelatedField

Type Parameters

Name
TViewModel
TRelatedField
See Also