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

RepositoryItemSpinEdit.MinValue Property

Gets or sets the editor’s minimum value.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Behavior")]
[SmartTagProperty("MinValue", "", SmartTagActionType.RefreshBoundsAfterExecute)]
public decimal MinValue { get; set; }

Property Value

Type Description
Decimal

A decimal value representing the editor’s minimum value.

Remarks

By default, the MinValue and RepositoryItemSpinEdit.MaxValue properties are set to 0. This means that the editor’s value is only limited to valid decimal numbers. Use these properties to determine the allowable range of values for the spin editor.

Setting the RepositoryItemSpinEdit.MaxValue property to a value less than the editor’s minimum value automatically sets MinValue to RepositoryItemSpinEdit.MaxValue. Also, setting MinValue to a value larger than the editor’s maximum value automatically sets RepositoryItemSpinEdit.MaxValue to MinValue.

See Also