Currently, there is no ItemTemplate for the SegmentedControl, therefore we need to use an IEnumerable<string>. Please add support for ItemTemplate, or DisplayMemeberBinding property, so that we can bind to an IEnumerable<T>.
Note : this might be a bug and maybe a fix would be better than a feature request.
I have a rad segmented control which is binded to a collection of 2 items.
The 2 items are well displayed without being cut off because there is a lot of space.
But on loading, the control shows a scrollbar for 1 or 2 sec even if there is enough space. I think the scrollbar is inside the SementedControlItem not the control itself as I can see some space between the two items, as there was 2 items then 2 scrollbars
I havn't tried on iOS, this scenarios occurs on Android.
Suggestion :
Add a property like the scrollView to hide always the scrollbar.
See the attached picture to see it in action.
When there are more items than can be fit in a horizontal space, allow an opt-in feature to allow horizontal scrolling instead of cutting off the labels
Currently, the RadSegmentedControl only has support for SelectionChanged. I need an event that will fire if the user selects the same item again.
Note that GestureRecognizers don't work (i.e. TapGestureRecognizer), so this will need to be a Telerik-implemented event.
Currently, we have exposed a limited set of properties which you can use for styling the items. We should consider adding additional ones like Text alignment, TextFontSize, etc. Setting a separate Control Template might be the best option.
If the SelectedIndex value set is outside the items bounds, automatically select the first or last item instead of throwing a NullReferenceException. Ex. Similar to the behavior of the Xamarin.Forms Picker control.
Making a selection on UWP results in an exception in the renderer. A reproducible is attached, the exception is the following: System.ArgumentException: Value does not fall within the expected range. at Telerik.UI.Xaml.Controls.Input.RadSegmentedControl.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value) at Telerik.XamarinForms.InputRenderer.UWP.SegmentedControlAdapter.UpdateCore(RadSegmentedControl sourceOwner, RadSegmentedControl targetOwner, String propertyName) at Telerik.XamarinForms.Common.FacadeAdapt
Available in the 2018 R2 SP release.
Available in the 2018 R2 SP release.
It is not possible to deselect all the items of the control and return to its initial state. Available in the 2018 R2 SP release.
Provide support for multiple rows of segments. Additionally, ad properties that help manage the wrapping behavior. Some example property names for such a feature: AllowMultipleSegmentRows="True" MaximumSegmentsPerRow="3"