Trying to use the segmented control in xaml and I cannot set "IsVisible" on the SegmentItem.
I have scenarios where an item of the segmentcontrol should not be visible?
I know you have "VisibleSegmentsCount" that removes the last item ,what about if I want to make visible only 1 and 3 item.
Is it possible to add a bindable property to the SFSegmentItem so that you can bind the individual SegmentItem to a bool value in your viewmodel.
<buttons:SfSegmentedControl
DisplayMode="Text"
HeightRequest="80"
SelectedIndex="1"
VisibleSegmentsCount="3">
<segmentCollection:List x:TypeArguments="buttons:SfSegmentItem">
<buttons:SfSegmentItem
BackgroundColor="#939393"
FontColor="White"
FontFamily="{StaticResource IconFontsKey}"
FontSize="Medium"
IconFont="{x:Static styles:IconFonts.CCC}"
SelectionBackgroundColor="#6a80f7"
SelectionTextColor=" White"
Text="Segment 1" />
<buttons:SfSegmentItem
BackgroundColor="#939393"
FontColor="White"
FontFamily="{StaticResource IconFontsKey}"
FontSize="Medium"
IconFont="{x:Static styles:IconFonts.BBB}"
SelectionBackgroundColor="#6a80f7"
SelectionTextColor=" White"
Text="Segment 2" />
<buttons:SfSegmentItem
BackgroundColor="#939393"
FontColor="White"
FontFamily="{StaticResource IconFontsKey}"
FontSize="Medium"
IconFont="{x:Static styles:IconFonts.AAA}"
SelectionBackgroundColor="#6a80f7"
SelectionTextColor=" White"
Text="Segment 3" />
</segmentCollection:List>
<buttons:SfSegmentedControl.SelectionIndicatorSettings>
<buttons:SelectionIndicatorSettings Position="Fill" />
</buttons:SfSegmentedControl.SelectionIndicatorSettings>
</buttons:SfSegmentedControl>
Thanks for your help