private void CarouselControl_Loaded(object sender, RoutedEventArgs e) { BehaviorCollection behaviors = Interaction.GetBehaviors(pathListBox); pathListBoxScrollBehavior = (PathListBoxScrollBehavior)behaviors .Where(x => x.GetType() == typeof(PathListBoxScrollBehavior)).FirstOrDefault(); }