HtmlTableCell

HtmlTableCelldisposable

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

This class represents individual <td> (table data) and <th> (table header) elements contained in an HTML table row. The InnerHtml and InnerText properties allow you to access the content stored in an individual cell. Most other properties are used to fine-tune the appearance of a particular cell. You can set NoWrap to configure whether or not the contents in a cell will wrap and RowSpan and ColSpan to specify that a cell should span the specified number of columns or rows.

public class HtmlTableCell : HtmlContainerControl { // Public Constructors    public HtmlTableCell( );    public HtmlTableCell(string tagName); // Public Instance Properties    public string Align{set; get; }    public string BgColor{set; get; }    public string BorderColor{set; get; }    public int ColSpan{set; get; }    public string Height{set; get; }    public bool NoWrap{set; get; }    public int RowSpan{set; get; }    public string VAlign{set; get; }    public string Width{set; get; } // Protected Instance Methods    protected override void RenderEndTag(System.Web.UI.HtmlTextWriter writer); // overrides HtmlContainerControl }

Hierarchy

System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) HtmlControl(System.Web.UI.IAttributeAccessor) HtmlContainerControl HtmlTableCell

Returned By

HtmlTableCellCollection.this

Passed To

HtmlTableCellCollection.{Add( ), Insert( ), Remove( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net