Skip to main content
All docs
V22.2

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.v22.2.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.Win.Dashboard.Design, DevExpress.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