public InteractivePanel3D(CarouselItem item, int nIndex) { this.item = item; this.Index = nIndex; Geometry = CreateModel(); Transform = this.CreateTransform(); Visual = this.CreateVisual(); IsBackVisible = true; }
public ImageItem(CarouselItem item) { InitializeComponent(); this.FileSrc = item.Url; string sFileName = item.Name; this.TbkTitle.Text = sFileName; this.Loaded += ImageItem_Loaded; this.DataContext = this; }