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.v20.1.dll

Declaration

[DXCategory("Behavior")]
public DateTime NullDateCalendarValue { get; set; }
<DXCategory("Behavior")>
Public Property NullDateCalendarValue As Date

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