The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelCommonMemberViewItem.AllowClear Property

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

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[ModelBrowsable(typeof(LookupViewItemOnlyCalculator))]
bool AllowClear { get; set; }
<ModelBrowsable(GetType(LookupViewItemOnlyCalculator))>
Property AllowClear As Boolean
[ModelBrowsable(typeof(LookupViewItemOnlyCalculator))]
bool AllowClear { get; set; }
<ModelBrowsable(GetType(LookupViewItemOnlyCalculator))>
Property AllowClear As Boolean
[ModelBrowsable(typeof(LookupViewItemOnlyCalculator))]
bool AllowClear { get; set; }
<ModelBrowsable(GetType(LookupViewItemOnlyCalculator))>
Property AllowClear As Boolean

Property Value

Type Description
Boolean

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

Property Value

Type Description
Boolean

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

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