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

IModelCommonMemberViewItem.AllowClear Property

Specifies whether or not a user can clear a value in the lookup editor.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[ModelBrowsable(typeof(LookupViewItemOnlyCalculator))]
bool AllowClear { get; set; }

#Property Value

Type Description
Boolean

true, when a user can clear a value in the lookup editor; otherwise - false.

#Remarks

By default, the Clear button is available in lookup editors (see Reference (Foreign Key, Complex Type) Properties).

AllowClear

To hide this button, set the AllowClear property to false in the Model Editor.

AllowClear_ME

See Also