Back to Devexpress

RepositoryItemDateEdit.NullDateCalendarValue Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-12c6552a.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace