Is there an event that fires in the Infragistics XamCarouselPanel every time the items in the panel are moved/rotated? Specifically, I have a horizontal pathed XamCarouselPanel filled with System.Windows.Controls.Image objects. I am stuck trying to find a way to get an event fired from the current 'middle' image from the XamCarouselPanel whenever the XamCarouselPanel objects are moved/rotated.
Is this feature implementable using the XamCarouselPanel? I've been through the API Documentation, but I cannot seem to find any documented events that would trigger when i desire.
Hello,
Moving of the Records in the Carousel are linked to DataPresenterCommands. You can handle the ExecutedCommand event and check if the command is next or previous record like this:
void xamDataCarousel_ExecutedCommand(object sender, Infragistics.Windows.Controls.Events.ExecutedCommandEventArgs e)
{
if (e.Command == DataPresenterCommands.RecordNext)
{ }
}
Hope this helps,
Alex.
I am not using the infragistics xamDataCarousel, I am using the xamCarouselPanel. That event hander logic doesn't do anything if I register it with my xamCarouselPanel.
I sitll might be able to use this as a starting point. I'll reply with my solution if I can create one.
Well, according to this document, I think I should be using the xamlCarouselListBox to 'support single selection of items' instead of the base xamCarouselPanel.