Skip to main content
Tab

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

Specifies whether an item is visible.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

Declaration

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

Parameters

Name Type Description
itemName String

The item name.

relatedFieldGetter Expression<Func<TViewModel, TRelatedField>>

An expression that identifies the related field.

value TRelatedField

The value of the related field.

Type Parameters

Name
TViewModel
TRelatedField
See Also