DialogViewModelBase.SetEditorEnabledCondition<TViewModel, TRelatedField>(String, Expression<Func<TViewModel, TRelatedField>>, TRelatedField) Method
In This Article
Specifies whether an editor is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.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. |
related |
Expression<Func<TView |
An expression that identifies the related field. |
value | TRelated |
#Type Parameters
Name |
---|
TView |
TRelated |
See Also