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

RepositoryItemTimeSpanEdit.MaxMilliseconds Property

Gets or sets the maximum number of milliseconds of the time interval.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DefaultValue(1000)]
[SmartTagProperty("Max Milliseconds", "")]
[DXCategory("Behavior")]
public int MaxMilliseconds { get; set; }

Property Value

Type Default Description
Int32

1000

An integer value that specifies the maximum number of milliseconds of the time interval.

Remarks

The MaxMilliseconds and RepositoryItemTimeSpanEdit.MinMilliseconds properties specify the maximum and minimum number of milliseconds that can be set using the edit box or tiles in the dropdown.

Setting the MaxMilliseconds property to a negative value throws a ArgumentException.

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

See Also