Skip to main content

TimeSpanMaskOptions.InputMode Attached Property

Specifies how the time span mask restricts entering large numeric values in mask parts. This is an attached property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

Returns

Type Description
TimeSpanInputMode

One of the TimeSpanInputMode enumeration values.

Remarks

When the InputMode property is set to NotRestricted, end users can enter large numeric values to the mask parts and the time span mask will automatically convert large value to mask format.

  • The Restricted mode allows end users to enter only valid numeric values in mask parts: 0-23 hours, 0-59 minutes, 0-59 seconds.

  • The NotRestricted mode allows end users to enter any numeric values. If the value is out of range limit (e.g., 65 seconds), it will be added to a current EditValue.

  • The NotRestrictedLargestUnit mode allows end users to enter any values in the largest mask part and works as the Restricted mode for other mask parts.

See Also