DialogViewModelBase.SetEditorEnabledCondition<TViewModel, TField, TRelatedField>(Expression<Func<TViewModel, TField>>, 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, TField, TRelatedField>(
Expression<Func<TViewModel, TField>> getter,
Expression<Func<TViewModel, TRelatedField>> relatedFieldGetter,
TRelatedField value
)
Parameters
Name | Type | Description |
---|---|---|
getter | Expression<Func<TViewModel, TField>> | An expression that identifies the field ID. |
relatedFieldGetter | Expression<Func<TViewModel, TRelatedField>> | An expression that identifies the related field. |
value | TRelatedField |
Type Parameters
Name |
---|
TViewModel |
TField |
TRelatedField |
See Also