2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
You can disabled the thousand seperators for numeric Editor in Xamarin.Forms SfDataForm by using EnableGroupSeparator property.
Refer to the online user guide documentation for customize the editor in DataForm using AutoGeneratingDataFormItem event.
C# Set the EnableGroupSeparator property into false inside the AutoGeneratingDataFormItem event. public class DataFormBehavior : Behavior<ContentPage> { SfDataForm dataForm; protected override void OnAttachedTo(ContentPage bindable) { base.OnAttachedTo(bindable); dataForm = bindable.FindByName<SfDataForm>("dataForm"); dataForm.AutoGeneratingDataFormItem += DataForm_AutoGeneratingDataFormItem; } private void DataForm_AutoGeneratingDataFormItem(object sender, AutoGeneratingDataFormItemEventArgs e) { if (e.DataFormItem != null) { if (e.DataFormItem.Name == "BirthYear") { (e.DataFormItem as DataFormNumericItem).EnableGroupSeparator = false; } } } protected override void OnDetachingFrom(ContentPage bindable) { base.OnDetachingFrom(bindable); dataForm.AutoGeneratingDataFormItem -= DataForm_AutoGeneratingDataFormItem; } }
|
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.