Skip to main content
A newer version of this page is available. .
All docs
V21.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.v21.1.dll

NuGet Package: DevExpress.Data.Desktop

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