TableCell 类
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ <AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ Public Class TableCell _ Inherits WebControl
Visual Basic(用法)
Dim instance As TableCell
C#
[BindableAttribute(false)] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class TableCell : WebControl
Visual C++
[BindableAttribute(false)] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] [AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class TableCell : public WebControl
J#
/** @attribute BindableAttribute(false) */ /** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */ /** @attribute AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) */ public class TableCell extends WebControl
JScript
public class TableCell extends WebControl
ASP.NET
<asp:TableCell />

TableCell 类表示 Table 控件中的单元格。可以使用 Text 属性指定或确定单元格的内容。
使用 TableCell 类可以控制单元格内容的显示方式。通过设置 HorizontalAlign 和 VerticalAlign 属性来指定单元格内容的对齐方式。可以使用 Wrap 属性指定单元格内容是否在单元格内换行。