New to Telerik UI for WinFormsStart a free 30-day trial

Applying AutoSelectNextPart Property to RadTimeOnlyPicker

Updated on Aug 12, 2025

Environment

Product VersionProductAuthor
2025.2.520RadTimeOnlyPicker for WinFormsDinko Krastev

Description

While editing RadTimeOnlyPicker, it will not automatically select the next time part as the user types. In the following article, we will demonstrate how to enable the auto-select next part feature in the RadTimeOnlyPicker control.

Solution

To access and apply the AutoSelectNextPart property to the RadTimeOnlyPicker, use the TimeOnlyPickerElement's MaskedEditBox.Provider. Set the property as shown below:

C#
MaskTimeOnlyProvider maskTimeOnlyProvider = this.radTimeOnlyPicker1.TimeOnlyPickerElement.MaskedEditBox.Provider as MaskTimeOnlyProvider;
maskTimeOnlyProvider.AutoSelectNextPart = true;

This snippet retrieves the provider for the RadTimeOnlyPicker and enables the AutoSelectNextPart property.

See Also