The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll


[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true)]
public class VisibleInListViewAttribute :
<AttributeUsage(AttributeTargets.Property Or AttributeTargets.Field, Inherited:=True)>
Public Class VisibleInListViewAttribute
    Inherits ModelExportedBoolValueAttribute


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.


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.


By default, the value which is passed as the VisibleInListView attribute's value parameter remains in descendants of the target property's class.


See Also