XhtmlMobileTextWriter.ExitLayout Method

Definition

Removes the current style, restores the previous style as the current formatting style, and calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

ExitLayout(Style)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ExitLayout(Style, Boolean)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ExitLayout(Style)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public override void ExitLayout(System.Web.UI.MobileControls.Style style);

Parameters

style
Style

A Style object containing the formatting to exit from.

Remarks

This method is used primarily by developers of custom mobile page and control adapters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ExitLayout(Style, Boolean)

Removes the current style, restores the previous style as the current layout style, and calls the WriteEndTag(String) method to close the current element. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public override void ExitLayout(System.Web.UI.MobileControls.Style style, bool breakafter);

Parameters

style
Style

A Style object containing the layout to exit from.

breakafter
Boolean

A Boolean value that indicates whether to force a break after the current element if the element is not a block element.

Remarks

This method is used primarily by developers of custom mobile page and control adapters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1