Example #1
0
        /// <summary>Assigns all needed attributes to the tag</summary>
        /// <returns>This instance downcasted to base class</returns>
        public virtual IndexedTag attr(
            string id = null,
            string @class = null,
            string style = null,
            string title = null,
            string longdesc = null,
            string name = null,
            string src = null,
            bool? frameborder = null,
            int? marginwidth = null,
            int? marginheight = null,
            Scrolling? scrolling = null,
            NoResize? noresize = null
        )
        {
            Id = id;
            Class = @class;
            Style = style;
            Title = title;
            LongDesc = longdesc;
            Name = name;
            Src = src;
            FrameBorder = frameborder;
            MarginWidth = marginwidth;
            MarginHeight = marginheight;
            Scrolling = scrolling;
            NoResize = noresize;

            return this;
        }
Example #2
0
 public static TagFrame noresize(this TagFrame tag, NoResize value) { tag.NoResize = value; return tag; }
Example #3
0
 public static TagFrame noresize(this TagFrame tag, NoResize value)
 {
     tag.NoResize = value; return(tag);
 }