SpinEdit.MaxValue Property
Gets or sets the editor’s maximum value. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Nullable<Decimal> | A Decimal value that specifies the maximum allowed value. |
Remarks
The minimum allowed value is specified using the SpinEdit.MinValue property. To specify the editor’s current value, use the BaseEdit.EditValue property.
If you try to set the BaseEdit.EditValue property to a new value that exceeds the SpinEdit.MinValue and MaxValue range, the BaseEdit.EditValue property will store the last valid value.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the MaxValue property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.