-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Copy link
Labels
Milestone
Description
Description
Objective:
Enhance the SegmentedControl by introducing the ability to apply a Ripple Effect on the segment item template when a segment item is selected or interacted with.
Public API Changes
IsRippleEnabled="True" for Segment Item Template
<ContentPage
xmlns:segmentedControl="clr-namespace:Syncfusion.Maui.Toolkit.SegmentedControl;assembly=Syncfusion.Maui.Toolkit">
<segmentedControl:SfSegmentedControl IsRippleEnabled="True">
<segmentedControl:SfSegmentedControl.ItemsSource>
<x:Array Type="{x:Type x:String}">
<x:String>Day</x:String>
<x:String>Week</x:String>
<x:String>Month</x:String>
<x:String>Year</x:String>
</x:Array>
</segmentedControl:SfSegmentedControl.ItemsSource>
<segmentedControl:SfSegmentedControl.SegmentTemplate>
<DataTemplate>
<Grid Background="LightGray">
<Label Text="{Binding Text}"
TextColor="Red"
Margin="6"/>
</Grid>
</DataTemplate>
</segmentedControl:SfSegmentedControl.SegmentTemplate>
</segmentedControl:SfSegmentedControl>
</ContentPage>Intended Use-Case
Add ripple effects for when selecting the segment item template added to enhance user experience.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done