Back to Devexpress

ChipGroup.ChipGeneration Event

maui-devexpress-dot-maui-dot-editors-dot-chipgroup-b77d8f68.md

latest1.6 KB
Original Source

ChipGroup.ChipGeneration Event

Fires before a chip is generated based on the bound view model and allows you to customize the chip.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public event ChipGenerationEventHandler ChipGeneration

Event Data

The ChipGeneration event's data class is ChipGenerationEventArgs. The following properties provide information specific to this event:

PropertyDescription
ChipGets the processed chip. Inherited from ChipEventArgs.
ItemGets the data object based on which the processed chip is generated. Inherited from ChipEventArgs.

Remarks

A chip’s BindingContext property contains the data object from the ItemsSource collection based on which this chip is generated. Updating the BindingContext property in a ChipGeneration event handler has no effect since the group resets this property after the event.

See Also

ChipGroup Class

ChipGroup Members

DevExpress.Maui.Editors Namespace