Skip to main content
Tab

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

Specifies whether an item is visible.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void SetItemVisibilityCondition<TViewModel, TField>(
    Expression<Func<TViewModel, TField>> getter,
    bool value
)

Parameters

Name Type Description
getter Expression<Func<TViewModel, TField>>
value Boolean

true to display the item; otherwise, false.

Type Parameters

Name
TViewModel
TField
See Also