Skip to main content
Tab

DialogViewModelBase.SetItemVisibilityCondition<TViewModel, TField, TRelatedField>(Expression<Func<TViewModel, TField>>, Expression<Func<TViewModel, TRelatedField>>, String) Method

Specifies whether an item is visible.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public void SetItemVisibilityCondition<TViewModel, TField, TRelatedField>(
    Expression<Func<TViewModel, TField>> getter,
    Expression<Func<TViewModel, TRelatedField>> relatedFieldGetter,
    string value
)

Parameters

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

An expression that identifies the related field.

value String

The value.

Type Parameters

Name
TViewModel
TField
TRelatedField
See Also