Back to Devexpress

DataFormItem.GetValue() Method

maui-devexpress-dot-maui-dot-dataform-dot-dataformitem-2bb94411.md

latest1.4 KB
Original Source

DataFormItem.GetValue() Method

Returns the current value of the data form editor.

Namespace : DevExpress.Maui.DataForm

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public object GetValue()

Returns

TypeDescription
System.Object

The editor’s current value.

|

Remarks

Call the DataFormView.GetValue(String) method to obtain the DataForm editor value by the name of the property to which the editor is bound.

Call the editor’s DataFormItem.SetValue(Object) method to set the value in the edit box. Before you call the SetValue method, ensure the DataFormView.DataObject property source implements the INotifyPropertyChanged interface.

See Also

DataFormItem Class

DataFormItem Members

DevExpress.Maui.DataForm Namespace