public Settings()
            {
                var namespaces = Native.Document.namespaces;

                if (namespaces == null)
                    throw new ArgumentNullException("namespaces");

                this.Namespace = namespaces.add("v", "urn:schemas-microsoft-com:vml");
                this.Behaviour = IStyleSheet.Default.AddRule("v\\:*", "behavior:url(#default#VML)", 0);
            }
示例#2
0
            public Settings()
            {
                var namespaces = Native.Document.namespaces;

                if (namespaces == null)
                {
                    throw new ArgumentNullException("namespaces");
                }

                this.Namespace = namespaces.add("v", "urn:schemas-microsoft-com:vml");
                this.Behaviour = IStyleSheet.Default.AddRule("v\\:*", "behavior:url(#default#VML)", 0);
            }