Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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