internal static object GetAttributeValue(string attributeName, IHTMLStyle style)
        {
            if (attributeName.IndexOf(Char.Parse("-")) > 0)
            {
                attributeName = attributeName.Replace("-", "");
            }

            return(style.getAttribute(attributeName, 0));
        }
示例#2
0
文件: IEElement.cs 项目: minskowl/MY
        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);
        }