Skip to content

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

Notifications You must be signed in to change notification settings

SyncfusionExamples/dataform-update-editor-xamarin.ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages