corelibraries-devexpress-dot-mvvm-dot-celleditordata.md
Gets or sets a value that the editor contains.
Namespace : DevExpress.Mvvm
Assembly : DevExpress.Mvvm.v25.2.dll
NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation
public object Value { get; set; }
Public Property Value As Object
| Type | Description |
|---|---|
| Object |
A value that the editor contains.
|
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.
int.TryParse((string)e.Value, out price);
positionValueData.Value = (int)amountData.Value * price;
}
wpf-data-grid-specify-edit-form-settings/CS/DefineEditFormSettings_MVVM/MainViewModel.cs#L26
if(args.IsNewItem) {
args.CellEditors[0].Value = Employees.Count + 1;
args.CellEditors[4].ReadOnly = true;
Call Integer.TryParse(CStr(e.Value), price)
positionValueData.Value = CInt(amountData.Value) * price
End If
wpf-data-grid-specify-edit-form-settings/VB/DefineEditFormSettings_MVVM/MainViewModel.vb#L83
If args.IsNewItem Then
args.CellEditors(0).Value = Employees.Count + 1
args.CellEditors(4).ReadOnly = True
See Also