Jul 7, 2010 at 9:48 AM
Edited Jul 9, 2010 at 9:39 AM
I would like to assign an image for all selected TimelineEvents. I know that this must sound strange to you since the events can have images themselves. It can be confusing to see the image in an event change because it was selected.
But I don't have this problem (yet), since my events don't have any images. But it would still be nice to be able to differenciate the events by assigning them a different image. When I have all the image functionality implemented, it will be used to show
which group an events belongs to. In that sense it would be feasable to make a different group of events by selecting them and assigning an image or icon to them.
Now I ran into the problem, that on the level of TimelineEvent I don't know which one is selected. That knowledge is in TimelineDisplayEvent, but that is not availalbe in TimelineTray or TimelineBand.
In TimeLineDisplayEvent you have static fields like MoreLinkText and TeaserSize. What if we added another static field string SelectedEventImageUrl? The TimelineBuilder could assign this url to all EventImage of selected events every time he recalculates
the event positions.
For those who do not set the SelectedEventImageUrl everything would stay the same.
What do you think?
If you agree, I could implement it and commit the change.