IModelCommonMemberViewItem.AllowClear Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

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

Returns

Type Description
Boolean

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

AllowClear

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

AllowClear_ME