Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng].pdf
Скачиваний:
74
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

Appendix A: Web Control Reference

Style

contains the control’s CSS properties

TagName

returns the element’s tag name

Visible

if set to False, the control won’t be visible

Width

the table’s width

HtmlTableCell Control

This control represents a <td runat="server"> or <th runat="server"> tag.

Properties

Align

sets the horizontal alignment of the contents of the

 

cell; possible values are Left, Right, and Center

Attributes

a collection of the element’s attribute names and their

 

values

BgColor

the background color of the cell

BorderColor

specifies the color of the borders of this cell

ColSpan

sets the number of columns this cell should occupy

Disabled

if set to True, the control will be disabled

Height

the height of the cell, in pixels

ID

contains the control’s ID

InnerHtml

contains the content between the element’s opening

 

and closing tags

InnerText

contains the text between the element’s opening and

 

closing tags

NoWrap

True if the text does not automatically wrap in the cell;

 

default value is False

RowSpan

the number of rows this cell should occupy

Style

contains the control’s CSS properties

656