Skip to main content
All docs
V24.2
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HideInUI Enum

Specifies whether a reference property should be hidden on certain UI views.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[Flags]
public enum HideInUI

#Members

Name Description
ListViewColumn

Property (column) does not appear in List Views. You can use the Column Chooser’s Customization Form (Object Dialog) to display the property again.

ListViewCustomizationForm

Hides the property on the List View Column Chooser Customization Form (Object Model).

DetailViewEditor

Property does not appear on Detail View editors. You can use the Layout Editor’s Customization Form to display the property again.

DetailViewCustomizationForm

Property does not appear on Detail View Customization Form (Object Model).

ReportCustomizationForm

Property does not appear in the Report Designer.

DashboardCustomizationForm

Property does not appear on the Dashboards Customization Form (Object Model).

All

Property does not appear in UI. Similar in effect to [Browsable(false)].

ListView

Property (column) does not appear in List Views and associated Customization Form and Filter Editor.

DetailView

Property does not appear on Detail View editors, View Items Customization Form (Object Model), and Criteria Property Editors.

FilterEditor

Property does not appear in field lists in the List View’s Filter Editor and Criteria Properties.

#Remarks

You can combine flags to hide a property on select UI views:

C#
using DevExpress.Persistent.Base;
using DevExpress.Persistent.Base.General;
using System.Collections.ObjectModel;
using System.ComponentModel;

namespace YourSolutionName.Module.BusinessObjects;
[DefaultClassOptions]
public class Category : BaseObject {
   public virtual string Name { get; set; }
   [HideInUI(HideInUI.ListViewColumn | HideInUI.DetailViewEditor)]
   public virtual Guid ParentObjectId { get; set; }
   // ...
}
See Also