The TableStyle class is primarily used by control developers. It encapsulates some of the formatting options that can be applied to an HTML table. These options correspond to properties of the Table class.
public class TableStyle : Style { // Public Constructors public TableStyle( ); public TableStyle(System.Web.UI.StateBag bag); // Public Instance Properties public virtual string BackImageUrl{set; get; } public virtual int CellPadding{set; get; } public virtual int CellSpacing{set; get; } public virtual GridLines GridLines{set; get; } public virtual HorizontalAlign HorizontalAlign{set; get; } // Public Instance Methods public override void AddAttributesToRender(System.Web.UI.HtmlTextWriter writer, WebControl owner); // overrides Style public override void CopyFrom(Style s); // overrides Style public override void MergeWith(Style s); // overrides Style public override void Reset( ); // overrides Style }