Beispiel #1
0
        public override ILineItem FindSelectionPoint(SelectionPoint sp)
        {
            if (startTag.ContainsSelectionPoint(sp))
            {
                return(startTag);
            }
            else if (endTag.ContainsSelectionPoint(sp))
            {
                return(endTag);
            }

            foreach (TableCell c in cells)
            {
                ILineItem ret = c.FindSelectionPoint(sp);
                if (ret != null)
                {
                    return(ret);
                }
            }
            return(null);
        }