public List <T> GetItems <T>()
        {
            var arrayItems = new ToolStripItem[DropDownItems.Count];

            DropDownItems.CopyTo(arrayItems, 0);

            return(arrayItems.Cast <T>().ToList());
        }