Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to programmatically editing the DataForm in Xamarin.iOS (SfDataForm)

You can programmatically edit the SfDataForm using UpdateEditor method in Xamarin.Forms.

You can also refer the following article.

https://www.syncfusion.com/kb/11457/how-to-programmatically-editing-the-dataform-in-xamarin-ios-sfdataform

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

DataFormUpdateEditor

About

This repository contains a sample on How to update/edit programmatically in the Syncfusion Xamarin.iOS DataForm (SfDataForm)?

Topics

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages