expressappframework-devexpress-dot-expressapp-1cbe4f48.md
Applied to business classes. Sets a number of default options for the List Views that display objects of the target type.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true, AllowMultiple = false)]
public class DefaultListViewOptionsAttribute :
Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface, Inherited:=True, AllowMultiple:=False)>
Public Class DefaultListViewOptionsAttribute
Inherits Attribute
The DefaultListViewOptions attribute allows you to specify the following parameters:
ListViewOnly. WinForms and ASP.NET Core Blazor applications support this option.NewItemRowPosition.None). The remaining NewItemRowPosition.Top and NewItemRowPosition.Bottom values are available when the List View’s AllowEdit option is enabled.As an alternative to DefaultListViewOptionsAttribute, you can set the MasterDetailMode, AllowEdit, and NewItemRowPosition properties of the corresponding IModelListView node.
Object Attribute DefaultListViewOptionsAttribute
See Also