expressappframework-devexpress-dot-expressapp-dot-model-dot-imodeloptions-ddbcd19c.md
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.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[DefaultValue(25)]
int LookupSmallCollectionItemCount { get; set; }
<DefaultValue(25)>
Property LookupSmallCollectionItemCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 25 |
An integer value that specifies the minimum object count required to enable the Search functionality.
|
You can access this nested property as listed below:
| Object Type | Path to LookupSmallCollectionItemCount |
|---|---|
| IModelApplication |
.Options .LookupSmallCollectionItemCount
|
You can change this property value in the Model Editor.
Note
In an XAF ASP.NET Core Blazor application, this setting is ignored, and XAF does not enable Search automatically. For details 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