.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

IModelCommonMemberViewItem.AllowClear Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v21.2.dll


bool AllowClear { get; set; }

Property Value

Type Description

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


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


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


See Also