Skip to main content
A newer version of this page is available. .

CalcEdit.Value Property

Gets or sets the editor’s decimal value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Appearance")]
[Bindable(false)]
[SmartTagProperty("Value", "")]
public virtual decimal Value { get; set; }

Property Value

Type Description
Decimal

The editor’s decimal value.

Remarks

The Value property matches the value of the CalcEdit.EditValue property. It returns the result of the conversion of the edit value to decimal. If the conversion fails, the Value property returns 0.

Assigning Value actually changes the edit value.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also