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
#Members
Name | Description |
---|---|
List
|
Property (column) does not appear in List Views. You can use the Column Chooser’s Customization Form (Object Dialog) to display the property again. |
List
|
Hides the property on the List View Column Chooser Customization Form (Object Model). |
Detail
|
Property does not appear on Detail View editors. You can use the Layout Editor’s Customization Form to display the property again. |
Detail
|
Property does not appear on Detail View Customization Form (Object Model). |
Report
|
Property does not appear in the Report Designer. |
Dashboard
|
Property does not appear on the Dashboards Customization Form (Object Model). |
All
|
Property does not appear in UI. Similar in effect to |
List
|
Property (column) does not appear in List Views and associated Customization Form and Filter Editor. |
Detail
|
Property does not appear on Detail View editors, View Items Customization Form (Object Model), and Criteria Property Editors. |
Filter
|
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:
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; }
// ...
}