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