VisibleInListViewAttribute Class
Specifies whether the column that corresponds to the target business class property is initially visible in a List View.
Namespace: DevExpress.Persistent.Base
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
If you want to customize the default process of list view columns generation and make a particular property of a business class initially visible in the List View that displays objects of this class, apply the VisibleInListView attribute to this property and pass true as the attribute’s value parameter. If you do not want a property to be visible in the List View, apply this attribute and pass false as the value parameter.
The value passed as the VisibleInListView attribute’s value parameter, is set for the read-only IModelMember.IsVisibleInListView property of the Application Model‘s BOModel | <Class> | OwnMembers | <Member> node. Use the Model Editor to see whether a particular property is visible in a List View.
Note
An end-user can change a column’s visibility via the Column Chooser, if the GridListEditor or ASPxGridListEditor is used to display the List View.
Note
By default, the value which is passed as the VisibleInListView attribute’s value parameter remains in descendants of the target property’s class.