Back to Devexpress

ChipGroup.ChipGeneration Event

mobilecontrols-devexpress-dot-xamarinforms-dot-editors-dot-chipgroup.md

latest2.0 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.XamarinForms.Editors

Assembly : DevExpress.XamarinForms.Editors.dll

NuGet Package : DevExpress.XamarinForms.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.XamarinForms.Editors Namespace