Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146418 | Aug 2,2019 03:35 PM UTC | Aug 5,2019 07:26 AM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfDataForm |
public class SegmentEditorExt : DataFormSegmentedEditor
{
public SegmentEditorExt(SfDataForm dataForm) : base(dataForm)
{
}
protected override void OnInitializeView(DataFormItem dataFormItem, SfSegmentedControl view)
{
base.OnInitializeView(dataFormItem, view);
SelectionIndicatorSettings selectionIndicator = new SelectionIndicatorSettings();
selectionIndicator.Color = Color.Red;
view.SelectionIndicatorSettings = selectionIndicator;
}
}
dataForm.RegisterEditor("Segment", new SegmentEditorExt(dataForm));
dataForm.RegisterEditor("SaveTo", "Segment"); |
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.