示例#1
0
        public HtmlAttribute(string property, string value = null, HtmlAttributeType type = HtmlAttributeType.Equality, HtmlAttributeGroup group = HtmlAttributeGroup.Normal)
        {
            SetProperty(property);

            SetValue(value);

            SetAttributeType(type);

            SetAttributeGroup(group);
        }
示例#2
0
        public HtmlAttribute SetAttributeGroup(HtmlAttributeGroup group)
        {
            Group = group;

            return(this);
        }