wMinDate Property (DateTimePicker Controls)

Applies to TestComplete 14.40, last modified on April 22, 2021
Information in this topic applies only to web tests that implement the default approach. This property is not supported in cross-platform web tests.

Description

The wMinDate property returns the minimum date that can be specified in the control.

Declaration

TestObj.wMinDate

Read-Only Property Date/Time
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The minimum date that can be selected in the control.

Remarks

The property works differently for different objects:

  • Win32 DateTimePicker

    If a date that is earlier than wMinDate is set in the wDate property, no changes will be applied and the previously selected date will remain selected.

  • WPF Toolkit DatePicker

    If a date that is earlier than wMinDate is set in the wDate property, the wMinDate property will be set equal to wDate.

Example

To view an example that demonstrates how to use the wMinDate property, see Getting Minimum and Maximum Allowed DateTimePicker Dates.

See Also

wDate Property (DateTimePicker Controls)
wMaxDate Property (DateTimePicker Controls)

Highlight search results