Events in Xamarin Chips

17 Oct 20231 minute to read

SelectionChanging Event

The SelectionChanging event is triggered before the Chip is selected. You can restrict a chip from being selected, by canceling this event, by setting Cancel property in the event argument to true. The argument contains the following information,

SelectionChanged Event

The SelectionChanged event triggered after a chip is selected. The argument contains the following information,

NOTE

Currently, Choice and Filter types are only supported for SelectionChanging and SelectionChanged events.

ChipClicked

The ChipClicked event is triggered when a chip clicked in the SfChipGroup. The event argument is type of EventArgs.

ItemRemoved Event

The ItemRemoved event is triggered after the chip is removed from SfChipGroup. The argument contains the following information,

NOTE

The ItemRemoved event is supported only in the Input type.

See also

How to remove the indicator icon from Xamarin.Forms chip group (SfChipGroup)

How to restrict chip selection in Xamarin