Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147493 | Sep 12,2019 02:05 PM UTC | Sep 13,2019 12:00 PM UTC | Xamarin.Forms | 2 |
![]() |
Tags: SfDataForm |
[C#]
private void DataForm_AutoGeneratingDataFormItem(object sender, AutoGeneratingDataFormItemEventArgs e)
{
if (e.DataFormItem != null)
{
if (e.DataFormItem.Name == "Code" || e.DataFormItem.Name == "Name")
e.DataFormItem.GroupName = "General";
else
{
e.DataFormItem.GroupName = "Details";
}
}
if(e.DataFormGroupItem != null && e.DataFormGroupItem.GroupName == "Details")
{
foreach (var item in e.DataFormGroupItem.DataFormItems)
(item as DataFormItem).Editor = "MultilineText";
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.