danheron/Heron.MudCalendar

Extending `CalendarItem` on `ItemChanged` and `ItemClicked`

Closed this issue · 1 comments

Is it possible to extend CalendarItem with extra parameters in case of ItemClicked or changed? I need to be able to pass more parameters than CalendarItem allows, and this is a stopper for me. The bare minimum would be Id of the item.

Yes, you can create a class that inherits from CalendarItem and includes any properties you want.

Have a look at the 'Custom Content' example in the documentation.