Пример #1
0
        internal static object GetAttributeValue(string attributeName, IHTMLStyle style)
        {
            if (attributeName.IndexOf(Char.Parse("-")) > 0)
            {
                attributeName = attributeName.Replace("-", "");
            }

            return(style.getAttribute(attributeName, 0));
        }
Пример #2
0
        internal static object GetStyleAttributeValue(string attributeName, IHTMLStyle style)
        {
            attributeName = UtilityClass.TurnStyleAttributeIntoProperty(attributeName);

            return(style.getAttribute(attributeName, 0));
        }
Пример #3
0
        internal static object GetAttributeValue(string attributeName, IHTMLStyle style)
        {
            if (attributeName.IndexOf(Char.Parse("-")) > 0)
            {
                attributeName = attributeName.Replace("-", "");
            }

            return style.getAttribute(attributeName, 0);
        }