Xceed Toolkit Plus for WPF v4.6 Documentation
AutoClipTimeParts Property


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > DateTimeUpDown Class : AutoClipTimeParts Property
Gets or sets if the hours, minutes and seconds time parts are clipped automatically.
Syntax
'Declaration
 
Public Property AutoClipTimeParts As Boolean
'Usage
 
Dim instance As DateTimeUpDown
Dim value As Boolean
 
instance.AutoClipTimeParts = value
 
value = instance.AutoClipTimeParts
public bool AutoClipTimeParts {get; set;}

Property Value

true if the hours, minutes and seconds time parts are clipped automatically; otherwise false. By default, false.
Remarks

When true, 25 hours will result in 1h, 65 minutes will result in 5 minutes, and 65 seconds will result in 5 seconds.

When false, these scenarios (25 hours, 65 minutes or 65 seconds) will result in a wrong time, and the last valid value will be displayed.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateTimeUpDown Class
DateTimeUpDown Members