Skip to main content
.NET 6.0+

IModelOptions.LookupSmallCollectionItemCount Property

Used by reference properties that are displayed by a Look-up Property Editor in Auto mode. For more information, see IModelCommonMemberViewItem.LookupEditorMode. If the element count in the Look-up Property Editor’s data source collection is greater than this property value, XAF does not load them and enables the Search feature.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(25)]
int LookupSmallCollectionItemCount { get; set; }

Property Value

Type Default Description
Int32 25

An integer value that specifies the minimum object count required to enable the Search functionality.

Property Paths

You can access this nested property as listed below:

Object Type Path to LookupSmallCollectionItemCount
IModelApplication
.Options .LookupSmallCollectionItemCount

Remarks

You can change this property value in the Model Editor.

LookupSmallCollectionItemCount

Note

In an XAF ASP.NET Core Blazor application, this setting is ignored, and XAF does not enable Search automatically. For more information on how to enable this feature, refer to the following topic: How to: Add a Search Action to Lookup Property Editors and Link Pop-up Windows.

See Also