public void setList(List <string[]> datas)
        {
            list.Children.Clear();
            int i = 1;

            foreach (string[] d in datas)
            {
                SelectTableItem sti = new SelectTableItem();
                sti.setData(d, i);
                list.Children.Add(sti);
                i++;
            }
        }
        public List <int> getSelectIndex()
        {
            List <int> selectIndex = new List <int>();
            int        i           = 0;

            foreach (UIElement ui in list.Children)
            {
                SelectTableItem st = ui as SelectTableItem;
                if (st.IsSelect())
                {
                    selectIndex.Add(i);
                }
                i++;
            }
            return(selectIndex);
        }