Skip to main content

RepositoryItemDateEdit.NullDateCalendarValue Property

Gets or sets the date and time automatically selected in the editor’s drop-down if the edit value is set to null.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public DateTime NullDateCalendarValue { get; set; }

Property Value

Type Description
DateTime

A DateTime object that specifies the date and time automatically selected in the editor’s drop-down if the edit value is set to null (Nothing in VB.NET).

Remarks

By default, if the edit value is set to null (Nothing in VB.NET), today’s date is automatically selected in the editor’s drop-down. The NullDateCalendarValue property allows you to specify a custom date to be selected in this case.

See Also