示例#1
0
        public InteractivePanel3D(CarouselItem item, int nIndex)
        {
            this.item  = item;
            this.Index = nIndex;

            Geometry      = CreateModel();
            Transform     = this.CreateTransform();
            Visual        = this.CreateVisual();
            IsBackVisible = true;
        }
示例#2
0
        public ImageItem(CarouselItem item)
        {
            InitializeComponent();
            this.FileSrc = item.Url;
            string sFileName = item.Name;

            this.TbkTitle.Text = sFileName;
            this.Loaded       += ImageItem_Loaded;
            this.DataContext   = this;
        }