Skip to main content
All docs
V24.1

CompatibilitySettings.ValueAfterDeleteInNumericMask Property

Specifies whether editors set the 0 (zero) or null value after the last digit is removed.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public static ValueAfterDeleteMode ValueAfterDeleteInNumericMask { get; set; }

Property Value

Type Description
ValueAfterDeleteMode

A mode that specifies whether editors set the 0 (zero) or null value after the last digit is removed.

Available values:

Name Description
Null

When a user removes the last digit, the editor value becomes null.

ZeroThenNull

When a user removes the last digit, the editor value becomes 0 (zero). If a user presses the Backspace or Delete key to remove this zero, the editor value becomes null.

See Also