Back to Devexpress

IModelOptions.LookupSmallCollectionItemCount Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodeloptions-ddbcd19c.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(25)]
int LookupSmallCollectionItemCount { get; set; }
vb
<DefaultValue(25)>
Property LookupSmallCollectionItemCount As Integer

Property Value

TypeDefaultDescription
Int3225

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 TypePath to LookupSmallCollectionItemCount
IModelApplication

.Options .LookupSmallCollectionItemCount

|

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

IModelOptions Interface

IModelOptions Members

DevExpress.ExpressApp.Model Namespace