Skip to content

Format Property

Description

Gets or sets the format of the date and time displayed in the control.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Format() As [DateTimeFormat](XtremeSuiteControls~Enumerations~DateTimeFormat_EN.md)

Remarks

This property determines the date/time format the date is displayed in. The date/time format is based on the user's regional settings in their operating system.

The Format property must be set to xtpPickerCustom for the CustomFormat property to affect the formatting of the displayed date and time.

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

See Also


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