A newer version of this page is available. Switch to the current version.

RepositoryItemTimeSpanEdit.MinDays Property

Gets or sets the minimum number of days in the time interval.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DefaultValue(0)]
[DXCategory("Behavior")]
public int MinDays { get; set; }

Property Value

Type Default Description
Int32

0

An integer value that specifies the minimum number of days in the time interval.

Remarks

The MinDays and RepositoryItemTimeSpanEdit.MaxDays properties specify the minimum and maximum number of days that can be set using the edit box or tiles in the dropdown.

Setting the MinDays property to a value greater than the RepositoryItemTimeSpanEdit.MaxDays property value throws a ArgumentException.

To specify whether it is allowed to edit the days component of the time interval, use the RepositoryItemTimeSpanEdit.AllowEditDays property.

See Also