XhtmlMobileTextWriter.EnterLayout(Style) 方法

定义

如果调用了该方法,则 BeginCachedRendering() 将提供的样式设置为当前布局样式。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

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

参数

style
Style

包含 Style 格式设置信息的对象。

注解

如果 BeginCachedRendering 已调用,则 style 设置为当前样式,并且实现该样式的起始 <span> 元素将写入输出流。

此方法主要由自定义移动页面和控件适配器的开发人员使用。

适用于

另请参阅