ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 822
نمايش فراداده

TableStylemarshal by reference, disposable

System.Web.UI.WebControls (system.web.dll)class

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 }

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponent, System.IDisposable) Style(System.Web.UI.IStateManager) TableStyle