How To Programmatically Editing The Dataform In Xamarin.Ios (Sfdataform)
dataform
editing
editor
ios
programmatic
sfdataform
You can programmatically edit the SfDataForm using UpdateEditor method in Xamarin.Forms.
You can also refer the following article.
C#
By using DataObject property you can get the input values of properties in DataForm. You can change the value and update the editor to refresh the editor with updated value.
private void Button_TouchUpInside(object sender, EventArgs e)
{
var model = dataForm.DataObject as DataFormModel;
model.Name = "John";
dataForm.UpdateEditor("Name");
}
Output
