Name
TableCell
Synopsis
This class represents individual table cells in a TableRow
. The Text
property allows you to
access the content stored in the cell. Most other properties are used to fine-tune its appearance. You can set Wrap
to configure whether or
not the contents in a cell will wrap, and RowSpan
and ColumnSpan
to specify that a
cell should span the specified number of columns or rows.
Public Class TableCell : Inherits WebControl ' Public Constructors Public Sub New() ' Public Instance Properties Overridable Public Property ColumnSpan As Integer Overridable Public Property HorizontalAlign As HorizontalAlign Overridable Public Property RowSpan As Integer Overridable Public Property Text As String Overridable Public Property VerticalAlign As VerticalAlign Overridable Public Property Wrap As Boolean ' Protected Instance Methods Overrides Protected Sub AddAttributesToRender( ByVal writer As System.Web.UI.HtmlTextWriter) Overrides Protected Sub AddParsedSubObject( ByVal obj As Object) Overrides Protected Function CreateControlStyle() As Style Overrides Protected Sub RenderContents( 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)→WebControl(System.Web.UI.IAttributeAccessor)→ TableCell
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.