Skip to content

UpDown Property

Description

Gets or sets a value indicating whether a spin button control (also known as an up-down control) is used to adjust the date/time value.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property UpDown() As Boolean

Remarks

When the UpDown property is set to true, a spin button control (also known as an up-down control) is used to adjust time values instead of a drop-down calendar. The date and time can be adjusted by selecting each element individually and using the up and down buttons to change the value.

To display only time in a DateTimePicker, set the Format property to Time, and the UpDown property to false.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.