Ejemplo n.º 1
0
        private void Add(GridViewItemMode item)
        {
            var it = new GridViewUIItem(item, newSize, false);

            it.ContentTapped += It_ContentTapped;
            this.Items.Add(it);
        }
Ejemplo n.º 2
0
        public GridViewUIItem(GridViewItemMode Data, Size imageSize, bool isDark)
        {
            this.isDark          = isDark;
            uISettings           = new UISettings();
            this.Data            = Data;
            DropShadowPanelColor = !isDark?Color.FromArgb(255, 0, 0, 0) : Color.FromArgb(255, 255, 255, 255);

            this.imageSize = imageSize;
            this.Initialize();
        }