Edit

Share via


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.

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

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

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.

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

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