Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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