Back to Devexpress

SpinEdit.Value Property

wpf-devexpress-dot-xpf-dot-editors-dot-spinedit-0ed44293.md

latest2.5 KB
Original Source

SpinEdit.Value Property

Gets or sets a spin editor’s value. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public decimal Value { get; set; }
vb
Public Property Value As Decimal

Property Value

TypeDescription
Decimal

A decimal value specifying the editor’s value.

|

Remarks

To specify whether the editor’s value is integer or float, use the SpinEdit.IsFloatValue property. The minimum and maximum allowed values for the editor are specified via the SpinEdit.MinValue and SpinEdit.MaxValue properties, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value 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.

wpf-scheduler-create-reminders-in-code-and-implement-custom-reminder-window/CS/CustomReminderExample/CustomReminderWindow.xaml#L101

xml
Grid.Column="1"
Value="9"
EditValue="{Binding SnoozeValue, Mode=TwoWay, Converter={StaticResource timespanconverter} }"

See Also

IsFloatValue

MinValue

MaxValue

SpinEdit Class

SpinEdit Members

DevExpress.Xpf.Editors Namespace