Name

HtmlTableCell

Synopsis

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 : Inherits HtmlContainerControl
' Public Constructors
   Public Sub New() 
   Public Sub New(ByVal tagName As String) 
' Public Instance Properties
   Public Property Align As String  
   Public Property BgColor As String  
   Public Property BorderColor As String  
   Public Property ColSpan As Integer  
   Public Property Height As String  
   Public Property NoWrap As Boolean  
   Public Property RowSpan As Integer  
   Public Property VAlign As String  
   Public Property Width As String  
' Protected Instance Methods
   Overrides Protected Sub RenderEndTag(
        ByVal writer As System.Web.UI.HtmlTextWriter) 
End Class

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

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.