public Gallery() { data = new Items(); ElementName = "gallery"; size = ControlSize.normal; Id = new ElementId(); controls = new Controls(); imageVisible = false; gallerySize = 7; itemHeight = 0; itemWidth = 0; rows = -1; cols = -1; }