Skip to main content
All docs
V25.1
  • Tab

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

    Specifies whether an editor is visible.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

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

    Parameters

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

    true to display the editor; otherwise, false.

    Type Parameters

    Name
    TViewModel
    TField
    See Also