PasswordRecovery.RenderOuterTable Свойство
Определение
Получает или задает значение, определяющее, заключает ли элемент управления отображаемый HTML-код в элемент table
для применения встроенных стилей.Gets or sets a value that indicates whether the control encloses rendered HTML in a table
element in order to apply inline styles.
public:
virtual property bool RenderOuterTable { bool get(); void set(bool value); };
public virtual bool RenderOuterTable { get; set; }
member this.RenderOuterTable : bool with get, set
Public Overridable Property RenderOuterTable As Boolean
Значение свойства
Значение true
, если элемент управления включает отображаемый HTML-код в элемент table
; в противном случае — значение false
.true
if the control encloses rendered HTML in a table
element; otherwise, false
. Значение по умолчанию — true
.The default is true
.
Реализации
Комментарии
Чтобы свойства встроенного стиля, такие как ForeColor Apply, применялись ко всем HTML-элементам, отображаемым для элемента управления, ASP.NET заключает отображаемый HTML-код table
в элемент.In order to make inline style properties such as ForeColor apply to all the HTML that is rendered for the control, ASP.NET encloses the rendered HTML in a table
element. Если вы не хотите, чтобы внешний table
элемент был визуализирован, присвойте этому false
свойству значение.If you do not want the outer table
element to be rendered, set this property to false
. В этом случае при попытке задать свойства встроенного стиля, применяемые ко всему элементу управления, создается исключение.In that case, if you try to set inline style properties that apply to the whole control, an exception is thrown.