DataControlBase.AllowLeaveInvalidEditor Property

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public bool AllowLeaveInvalidEditor { get; set; }

Property Value

Type Description

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


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

See Also