danheron / Heron.MudCalendar

Calendar component for MudBlazor
MIT License
174 stars 33 forks source link

CalendarItem #153

Closed fabiofastech closed 3 months ago

fabiofastech commented 4 months ago

I would suggest adding a couple of additional properties to the CalendarItem class, for example the ability to set the appointment color both as standard colors (Color.Default, Color.Success etc.) and as palette colors (Colors.Purple.Lighten3, Colors.Green. Darken2, etc.) => "COLOR" field. A "CATEGORY" field can also be added. Finally I would say that it would be extremely useful to add an object attached to the CalendarItem Class => CalendarItem

danheron commented 3 months ago

I don't think there is any need for this. You can already create your own class that inherits from CalendarItem and includes any properties that you want.

The 'Custom Content' example in the documents shows how to do this.

fabiofastech commented 3 months ago

You're right, it's clear that I didn't read the documentation carefully enough!