SegmentedControl icon indicating copy to clipboard operation
SegmentedControl copied to clipboard

Disable individual segments

Open dmacgeo opened this issue 8 years ago • 3 comments

Hi,

Is it possible to disable one or more individual segments of a segmented control? I tried setting IsEnabled to false for some of the control's children but it did not work. I tried this for Android using Xamarin.Forms.

Thanks for the great work on this control!

dmacgeo avatar Nov 06 '17 21:11 dmacgeo

I am looking to do the exact same thing on the same platform and have tried exactly what you have with the same results.

Did you ever find a way?

zanesc avatar Mar 29 '18 00:03 zanesc

My workaround for now will be displaying an alert if the user selects the disabled option then setting the segment control back to the previously selected segment by keeping a track of the previous segment.

zanesc avatar Mar 29 '18 14:03 zanesc

No, I did not find a way. The design of my project changed a lot and segmented controls are no longer used.

dmacgeo avatar Mar 30 '18 15:03 dmacgeo