Пример #1
0
        /// <summary>
        /// Marks the given HTML table cell element and its siblings according to the expansion settings.
        /// If the given HtmlElement is not within a HTML table this call is ignored.
        /// </summary>
        public void Mark(IHtmlElement element)
        {
            Contract.RequiresNotNull(element, "element");

            var tableCandidate = HtmlTable.GetByElement(element);

            if (tableCandidate == null)
            {
                return;
            }

            myElement = ( HtmlElementAdapter )element;

            Table = tableCandidate;

            Apply();
        }