コード例 #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
ファイル: IEElement.cs プロジェクト: minskowl/MY
        internal static object GetStyleAttributeValue(string attributeName, IHTMLStyle style)
        {
            attributeName = UtilityClass.TurnStyleAttributeIntoProperty(attributeName);

            return(style.getAttribute(attributeName, 0));
        }
コード例 #3
0
ファイル: Style.cs プロジェクト: dineshkummarc/itin-r23136
        internal static object GetAttributeValue(string attributeName, IHTMLStyle style)
        {
            if (attributeName.IndexOf(Char.Parse("-")) > 0)
            {
                attributeName = attributeName.Replace("-", "");
            }

            return style.getAttribute(attributeName, 0);
        }