private static CarouselPathAnimationData GetItemAnimationData( RadObject element) { CarouselPathAnimationData pathAnimationData = (CarouselPathAnimationData)element.GetValue(CarouselItemsContainer.CarouselAnimationData); if (pathAnimationData == null) { pathAnimationData = new CarouselPathAnimationData(); int num = (int)element.SetValue(CarouselItemsContainer.CarouselAnimationData, (object)pathAnimationData); } return(pathAnimationData); }
private static CarouselPathAnimationData GetItemAnimationData(RadObject element) { CarouselPathAnimationData data = (CarouselPathAnimationData)element.GetValue(CarouselItemsContainer.CarouselAnimationData); if (data == null) { data = new CarouselPathAnimationData(); element.SetValue(CarouselItemsContainer.CarouselAnimationData, data); } return(data); }