Skip to main content
A newer version of this page is available. .

DataControlBase.AllowLeaveInvalidEditor Property

Gets or sets whether an editor that did not pass validation can lose focus. This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(false)]
public bool AllowLeaveInvalidEditor { get; set; }

Property Value

Type Description
Boolean

true, to allow moving focus from an editor with an invalid value; otherwise, false.

Remarks

The AllowLeaveInvalidEditor property is taken into account only when cells are validated using the GridControl.ValidateCell event.

See Also