Edit

Share via


HtmlMobileTextWriter.ExitLayout Method

Definition

Removes the current style, restores the previous style as the current formatting style, and optionally calls the WriteEndTag(String) method to close the current element.

Overloads

ExitLayout(Style)

Removes the current style, restores the previous style as the current layout style, and optionally 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 optionally 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 optionally 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.

public:
 override void ExitLayout(System::Web::UI::MobileControls::Style ^ style);
public override void ExitLayout (System.Web.UI.MobileControls.Style style);
override this.ExitLayout : System.Web.UI.MobileControls.Style -> unit
Public Overrides Sub ExitLayout (style As Style)

Parameters

style
Style

The style reference.

Applies to

ExitLayout(Style, Boolean)

Removes the current style, restores the previous style as the current layout style, and optionally 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.

public:
 override void ExitLayout(System::Web::UI::MobileControls::Style ^ style, bool breakAfter);
public override void ExitLayout (System.Web.UI.MobileControls.Style style, bool breakAfter);
override this.ExitLayout : System.Web.UI.MobileControls.Style * bool -> unit
Public Overrides Sub ExitLayout (style As Style, breakAfter As Boolean)

Parameters

style
Style

The style reference.

breakAfter
Boolean

If breakAfter is true, a break is added after the closing style element.

Applies to